diff --git a/monitor/nlmon.c b/monitor/nlmon.c index f0ffff90..f7b0f9a1 100644 --- a/monitor/nlmon.c +++ b/monitor/nlmon.c @@ -8312,7 +8312,8 @@ void nlmon_print_genl(struct nlmon *nlmon, const struct timeval *tv, continue; } - if (!nlmon->read && nlmsg->nlmsg_type != nlmon->id) + if (nlmsg->nlmsg_type >= NLMSG_MIN_TYPE && !nlmon->read && + nlmsg->nlmsg_type != nlmon->id) continue; nlmon_message(nlmon, tv, nlmsg);