summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2011-11-04 20:10:00 -0500
committerDan Williams <dcbw@redhat.com>2011-11-07 10:13:32 -0600
commit1cb28e2ab8830606e041014a931d0af9ff948f7f (patch)
treed430a9cfe4a4ccf9276cea2c4f2d8cfc2191261a
parentbe59355f2c5cabd5625c4dc4d7264fea4da39da7 (diff)
downloadNetworkManager-1cb28e2ab8830606e041014a931d0af9ff948f7f.tar.gz
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.
-rw-r--r--src/ip6-manager/nm-ip6-manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ip6-manager/nm-ip6-manager.c b/src/ip6-manager/nm-ip6-manager.c
index 525e03637d..8ad3ada89f 100644
--- a/src/ip6-manager/nm-ip6-manager.c
+++ b/src/ip6-manager/nm-ip6-manager.c
@@ -1337,6 +1337,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);