netsniff-ng: nlmsg: Drop dissection of GENL_ID_GENERATE type
commit88ec2ad37cabb3d3b7ca0e8e5ea3d682c083618d
authorTobias Klauser <tklauser@distanz.ch>
Mon, 6 Mar 2017 11:22:57 +0000 (6 12:22 +0100)
committerTobias Klauser <tklauser@distanz.ch>
Mon, 6 Mar 2017 11:22:57 +0000 (6 12:22 +0100)
tree6c5314165480ca07c8a86e7654dfc5b1342ed814
parenteacba575c3a740e3d02040657f487a30632d8d71
netsniff-ng: nlmsg: Drop dissection of GENL_ID_GENERATE type

After kernel commit a07ea4d9941a ("genetlink: no longer support using
static family IDs"), GENL_ID_GENERATE is no longer exposed to userspace
(and actually should never have been). Change the genl nlmsg dissector
to only consider the nlctrl family and the two other static family IDs
needed for workarounds. All other family IDs are considered dynamically
generated.

Fixes #171
Reported-by: Jaroslav Škarvada <jskarvad@redhat.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
proto_nlmsg.c