]> git.proxmox.com Git - mirror_iproute2.git/commit
libnetlink: Add helper to add a group via setsockopt
authorDavid Ahern <dsahern@gmail.com>
Fri, 7 Jun 2019 22:38:09 +0000 (15:38 -0700)
committerDavid Ahern <dsahern@gmail.com>
Tue, 11 Jun 2019 17:30:48 +0000 (10:30 -0700)
commit9860becfe3e2693ba79985b0af238152f1a90bf5
tree3aed5977906f3f5f14dccac2edc2c6aafc2c2af2
parent7392401027f0abd3480bab2f81d371aead599f2e
libnetlink: Add helper to add a group via setsockopt

groups > 31 have to be joined using the setsockopt. Since the nexthop
group is 32, add a helper to allow 'ip monitor' to listen for nexthop
messages.

Signed-off-by: David Ahern <dsahern@gmail.com>
include/libnetlink.h
lib/libnetlink.c