ip6: subscribe to route group so we get RTM_NEWROUTE/RTM_DELROUTE (lp:886410)

Found by Michael Mol; need to subscribe to the group otherwise
we won't get the messages.
This commit is contained in:
Dan Williams 2011-11-04 20:10:00 -05:00
parent 077afa02f5
commit 2c5d9fe86b

View 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);