summaryrefslogtreecommitdiff
path: root/zebra/connected.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 272689b594..7da40ce03a 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -66,13 +66,6 @@ connected_withdraw (struct connected *ifc)
/* The address is not in the kernel anymore, so clear the flag */
UNSET_FLAG(ifc->conf, ZEBRA_IFC_QUEUED);
- /* Enable RA suppression if there are no IPv6 addresses on this interface */
- if (interface_ipv6_auto_ra_allowed (ifc->ifp))
- {
- if (! ipv6_address_configured(ifc->ifp))
- ipv6_nd_suppress_ra_set (ifc->ifp, RA_SUPPRESS);
- }
-
if (!CHECK_FLAG (ifc->conf, ZEBRA_IFC_CONFIGURED))
{
listnode_delete (ifc->ifp->connected, ifc);
@@ -100,12 +93,6 @@ connected_announce (struct interface *ifp, struct connected *ifc)
if (ifc->address->family == AF_INET)
if_subnet_add (ifp, ifc);
- else if (ifc->address->family == AF_INET6)
- {
- if (interface_ipv6_auto_ra_allowed (ifp))
- ipv6_nd_suppress_ra_set (ifp, RA_ENABLE);
- }
-
zebra_interface_address_add_update (ifp, ifc);
if (if_is_operative(ifp))