diff options
author | hasso <hasso> | 2003-05-25 21:04:54 +0000 |
---|---|---|
committer | hasso <hasso> | 2003-05-25 21:04:54 +0000 |
commit | 9d13049bc83142fca99d70c7e8d60ff956202d3f (patch) | |
tree | bc74a2753d0e2457d2ba0629de9ab6041182d432 /zebra/zebra_rib.c | |
parent | 42bebb8a3742319ba5eef482a2a823b3728fca4c (diff) | |
download | quagga-9d13049bc83142fca99d70c7e8d60ff956202d3f.tar.bz2 quagga-9d13049bc83142fca99d70c7e8d60ff956202d3f.tar.xz |
Last fixes from 6Wind patch.
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r-- | zebra/zebra_rib.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index 74edfbb8..d7f8bdab 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -1539,8 +1539,14 @@ int rib_bogus_ipv6 (int type, struct prefix_ipv6 *p, struct in6_addr *gate, unsigned int ifindex, int table) { - if (type == ZEBRA_ROUTE_CONNECT && IN6_IS_ADDR_UNSPECIFIED (&p->prefix)) + if (type == ZEBRA_ROUTE_CONNECT && IN6_IS_ADDR_UNSPECIFIED (&p->prefix)) { +#if defined (MUSICA) || defined (LINUX) + /* IN6_IS_ADDR_V4COMPAT(&p->prefix) */ + if (p->prefixlen == 96) + return 0; +#endif /* MUSICA */ return 1; + } if (type == ZEBRA_ROUTE_KERNEL && IN6_IS_ADDR_UNSPECIFIED (&p->prefix) && p->prefixlen == 96 && gate && IN6_IS_ADDR_UNSPECIFIED (gate)) { |