ip6: subscribe to route group so we get RTM_NEWROUTE/RTM_DELROUTE (lp:886410)
authorDan Williams <dcbw@redhat.com>
Sat, 5 Nov 2011 01:10:00 +0000 (20:10 -0500)
committerDan Williams <dcbw@redhat.com>
Sat, 5 Nov 2011 01:10:00 +0000 (20:10 -0500)
Found by Michael Mol; need to subscribe to the group otherwise
we won't get the messages.

src/ip6-manager/nm-ip6-manager.c

index 1c76130..503dab5 100644 (file)
@@ -1354,6 +1354,7 @@ nm_ip6_manager_init (NMIP6Manager *manager)
        priv->monitor = nm_netlink_monitor_get ();
        nm_netlink_monitor_subscribe (priv->monitor, RTNLGRP_IPV6_IFADDR, NULL);
        nm_netlink_monitor_subscribe (priv->monitor, RTNLGRP_IPV6_PREFIX, NULL);
+       nm_netlink_monitor_subscribe (priv->monitor, RTNLGRP_IPV6_ROUTE, NULL);
        nm_netlink_monitor_subscribe (priv->monitor, RTNLGRP_ND_USEROPT, NULL);
        nm_netlink_monitor_subscribe (priv->monitor, RTNLGRP_LINK, NULL);