summaryrefslogtreecommitdiff
path: root/zebra/connected.c
diff options
context:
space:
mode:
authorvincent <vincent>2005-09-28 13:42:11 +0000
committervincent <vincent>2005-09-28 13:42:11 +0000
commitaa2e32be264710ef208516dfe1661b8148c3eede (patch)
treec990a1ce60bfbfd4847099ef8c013db0638b794d /zebra/connected.c
parentfac1f7cc8eaa750fa46985977a97e05e493228a2 (diff)
* connected.c: flag connected_up_ipv6() and connected_down_ipv6()
usage with HAVE_IPV6
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 7599d24d..5557819c 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -51,8 +51,10 @@ 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);
}
@@ -83,8 +85,10 @@ 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
}
}
}