]> granicus.if.org Git - libnl/commitdiff
nl-monitor: Add support for netconf caches
authorDavid Ahern <dsa@cumulusnetworks.com>
Wed, 3 May 2017 21:05:08 +0000 (14:05 -0700)
committerThomas Haller <thaller@redhat.com>
Fri, 12 May 2017 08:09:15 +0000 (10:09 +0200)
Allow user to monitor netconf changes.

Signed-off-by: David Ahern <dsa@cumulusnetworks.com>
Signed-off-by: Thomas Haller <thaller@redhat.com>
src/nl-monitor.c

index 830bd74b370cc7b560182ae89562dda3ed73032b..d9c32f86b7ffd14cdebd72a72dab13dc9af8fcc1 100644 (file)
@@ -32,6 +32,8 @@ static const struct {
        { RTNLGRP_DECnet_IFADDR, "decnet-ifaddr" },
        { RTNLGRP_DECnet_ROUTE, "decnet-route" },
        { RTNLGRP_IPV6_PREFIX, "ipv6-prefix" },
+       { RTNLGRP_IPV4_NETCONF, "ipv4-netconf" },
+       { RTNLGRP_IPV6_NETCONF, "ipv6-netconf" },
        { RTNLGRP_NONE, NULL }
 };