]> git.puffer.fish Git - mirror/frr.git/commitdiff
* connected.c: flag connected_up_ipv6() and connected_down_ipv6()
authorvincent <vincent>
Wed, 28 Sep 2005 13:42:11 +0000 (13:42 +0000)
committervincent <vincent>
Wed, 28 Sep 2005 13:42:11 +0000 (13:42 +0000)
      usage with HAVE_IPV6

zebra/ChangeLog
zebra/connected.c

index 6c921fd255980a80afba48fbcd082abac1c25636..1e453ae888a7d6883b645d6f881096acc9b5ef5b 100644 (file)
@@ -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 -
index 7599d24dd61ba011fc280a99f57fb6f949a1204d..5557819c282e5a511bf509b3e800b7dfc2ded042 100644 (file)
@@ -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
         }
     }
 }