commit 02ec70e29025f058c6ab9696fbed1a69a23e276c
parent 5118f08d79a39813d591b4507dd89b4e62dd9a41
Author: Denis Kenzior <denkenz@gmail.com>
Date: Sun, 11 Aug 2024 22:42:54 -0500
monitor: Don't skip genl control Done,Error messages
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git 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);