diff options
author | Pavel Šimerda <psimerda@redhat.com> | 2012-09-05 22:05:55 +0200 |
---|---|---|
committer | Dan Williams <dcbw@redhat.com> | 2012-09-25 15:03:32 -0500 |
commit | 110888c7827e501d16ab80dc2f15c2453dc1aa90 (patch) | |
tree | bbeb66ab6085373fe51af9f12bd0e889652ab298 | |
parent | 78e9c564b2c5ae9a554ecfef82a00e5d61b79267 (diff) |
device: remove useless ipv6 route addition
Link-local multicast routes are handled by kernel. Just try pinging
ff02::1%eth0 on a clean system without IP configuration.
-rw-r--r-- | src/nm-device.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/nm-device.c b/src/nm-device.c index 0aed298d..605ed217 100644 --- a/src/nm-device.c +++ b/src/nm-device.c @@ -2069,8 +2069,6 @@ dhcp6_start (NMDevice *self, NMActStageReturn ret = NM_ACT_STAGE_RETURN_FAILURE; guint8 *anycast = NULL; const char *ip_iface; - const struct in6_addr dest = { { { 0xFF,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 } } }; - int err; if (!connection) { connection = nm_device_get_connection (self); @@ -2093,18 +2091,6 @@ dhcp6_start (NMDevice *self, priv->dhcp6_ip6_config = NULL; } - /* DHCPv6 communicates with the DHCPv6 server via two multicast addresses, - * ff02::1:2 (link-scope) and ff05::1:3 (site-scope). Make sure we have - * a multicast route (ff00::/8) for client <-> server communication. - */ - err = nm_system_set_ip6_route (priv->ip_iface ? priv->ip_ifindex : priv->ifindex, - &dest, 8, NULL, 256, 0, RTPROT_BOOT, RT_TABLE_LOCAL, NULL); - if (err && (err != -NLE_EXIST)) { - nm_log_err (LOGD_DEVICE | LOGD_IP6, - "(%s): failed to add IPv6 multicast route: %s", - priv->ip_iface ? priv->ip_iface : priv->iface, nl_geterror (err)); - } - ip_iface = nm_device_get_ip_iface (self); priv->dhcp6_client = nm_dhcp_manager_start_ip6 (priv->dhcp_manager, ip_iface, |