Message ID | 20240823161848.485685-3-denkenz@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [1/5] defs: Add defs.h to hold certain global definitions | expand |
Context | Check | Description |
---|---|---|
tedd_an/pre-ci_am | success | Success |
prestwoj/iwd-ci-gitlint | success | GitLint |
diff --git a/monitor/nlmon.c b/monitor/nlmon.c index f0ffff90b1d7..f7b0f9a14aa6 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);