From: vincent Date: Wed, 28 Sep 2005 13:42:11 +0000 (+0000) Subject: * connected.c: flag connected_up_ipv6() and connected_down_ipv6() X-Git-Tag: frr-2.0-rc1~2896 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=aa2e32be264710ef208516dfe1661b8148c3eede;p=mirror%2Ffrr.git * connected.c: flag connected_up_ipv6() and connected_down_ipv6() usage with HAVE_IPV6 --- diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 6c921fd255..1e453ae888 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,9 @@ + +2005-09-28 Alain Ritoux + + * connected.c: flag connected_up_ipv6() and connected_down_ipv6() + usage with HAVE_IPV6 + 2005-09-24 Hasso Tepper * rib.h: Add note about behaviour of rib_add_ipv[46]* functions - diff --git a/zebra/connected.c b/zebra/connected.c index 7599d24dd6..5557819c28 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 } } }