diff options
author | vincent <vincent> | 2005-09-28 13:42:11 +0000 |
---|---|---|
committer | vincent <vincent> | 2005-09-28 13:42:11 +0000 |
commit | 4ba66e60a2e8266f884c6bee413c8177a960fb79 (patch) | |
tree | f09f3d99664347fc58f9cff1220fcce32d9f6aca | |
parent | 6f17044ca297f7152ed03996970ab9ea3adb592b (diff) | |
download | quagga-4ba66e60a2e8266f884c6bee413c8177a960fb79.tar.bz2 quagga-4ba66e60a2e8266f884c6bee413c8177a960fb79.tar.xz |
* connected.c: flag connected_up_ipv6() and connected_down_ipv6()
usage with HAVE_IPV6
-rw-r--r-- | zebra/ChangeLog | 6 | ||||
-rw-r--r-- | zebra/connected.c | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/zebra/ChangeLog b/zebra/ChangeLog index 6c921fd2..1e453ae8 100644 --- a/zebra/ChangeLog +++ b/zebra/ChangeLog @@ -1,3 +1,9 @@ + +2005-09-28 Alain Ritoux <alain.ritoux@6wind.com> + + * connected.c: flag connected_up_ipv6() and connected_down_ipv6() + usage with HAVE_IPV6 + 2005-09-24 Hasso Tepper <hasso at quagga.net> * rib.h: Add note about behaviour of rib_add_ipv[46]* functions - 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 } } } |