summaryrefslogtreecommitdiff
path: root/zebra/connected.c
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2017-01-16 15:12:55 +0100
committerGitHub <noreply@github.com>2017-01-16 15:12:55 +0100
commitab0c9543a9f3337b1d99727a438d1293ef8b2956 (patch)
tree529e6476fdcd48500bcca77ef77b3d68da23f1c6 /zebra/connected.c
parent5731f9c9e57f5abfeff891fd036e9527bb14e023 (diff)
parent602ba9bd8b118d3c1302e890010ca7c5d94e0ff5 (diff)
Merge pull request #68 from donaldsharp/cleanup
Cleanup
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 bc54aab01c..ebd948252e 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
}
}