summaryrefslogtreecommitdiff
path: root/zebra/connected.c
diff options
context:
space:
mode:
authorhasso <hasso>2003-05-25 21:04:54 +0000
committerhasso <hasso>2003-05-25 21:04:54 +0000
commit726f9b2bbdd5a607f7b0a10a64547739b807e361 (patch)
tree9c46a6ce71cf4ea96553a85a231e38b462b3dee0 /zebra/connected.c
parent71c0fb50fe75928f8fbe1bbff1995d9d91b3702b (diff)
Last fixes from 6Wind patch.
Diffstat (limited to 'zebra/connected.c')
-rw-r--r--zebra/connected.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/zebra/connected.c b/zebra/connected.c
index 5d1c6b66..280e423e 100644
--- a/zebra/connected.c
+++ b/zebra/connected.c
@@ -263,8 +263,11 @@ connected_up_ipv6 (struct interface *ifp, struct connected *ifc)
/* Apply mask to the network. */
apply_mask_ipv6 (&p);
+#if ! defined (MUSICA) && ! defined (LINUX)
+ /* XXX: It is already done by rib_bogus_ipv6 within rib_add_ipv6 */
if (IN6_IS_ADDR_UNSPECIFIED (&p.prefix))
return;
+#endif
rib_add_ipv6 (ZEBRA_ROUTE_CONNECT, 0, &p, NULL, ifp->ifindex, 0);