summaryrefslogtreecommitdiffstats
path: root/zebra/connected.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index bc54aab01..ebd948252 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -59,10 +59,8 @@ connected_withdraw (struct connected *ifc)
if (ifc->address->family == AF_INET)
connected_down_ipv4 (ifc->ifp, ifc);
-#ifdef HAVE_IPV6
else
connected_down_ipv6 (ifc->ifp, ifc);
-#endif
UNSET_FLAG (ifc->conf, ZEBRA_IFC_REAL);
}
@@ -103,10 +101,8 @@ connected_announce (struct interface *ifp, struct connected *ifc)
{
if (ifc->address->family == AF_INET)
connected_up_ipv4 (ifp, ifc);
-#ifdef HAVE_IPV6
else
connected_up_ipv6 (ifp, ifc);
-#endif
}
}