mirror of
https://git.netfilter.org/libmnl
synced 2026-01-29 11:54:11 +00:00
This example no longer works on more recent kernels: genl-family-get error: Invalid argument dmesg says: netlink: 'genl-family-get': attribute type 1 has an invalid length. Fix this and also zero out the reserved field in the genl header, while not validated yet for dumps this could change. Reported-by: Divyanshu Rathore <Divyanshu.Rathore@bmwtechworks.in> Signed-off-by: Florian Westphal <fw@strlen.de>