summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-27 17:58:51 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-05-27 17:58:51 -0700
commit060f36a30a71a96ec2bf88e6d9e52ce7f6f37dbd (patch)
treef292bbe77652744e068041d3b166e4d326f2d0ab /zebra/zebra_rib.c
parent3ea593d4664b070cdf638946a9dea57c7045b3dd (diff)
parent49a1b59f935674c35019c7f6bd8b8a5a83dd619c (diff)
downloadquagga-060f36a30a71a96ec2bf88e6d9e52ce7f6f37dbd.tar.bz2
quagga-060f36a30a71a96ec2bf88e6d9e52ce7f6f37dbd.tar.xz
Merge branch 'jenner' of 192.168.100.1:git/vyatta-quagga into jenner
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 5ea93112..ade13578 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -451,8 +451,7 @@ nexthop_active_ipv4 (struct rib *rib, struct nexthop *nexthop, int set,
return 1;
}
}
- else if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_INTERNAL)
- || match->type == ZEBRA_ROUTE_STATIC)
+ else if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_INTERNAL))
{
for (newhop = match->nexthop; newhop; newhop = newhop->next)
if (CHECK_FLAG (newhop->flags, NEXTHOP_FLAG_FIB)
@@ -589,8 +588,7 @@ nexthop_active_ipv6 (struct rib *rib, struct nexthop *nexthop, int set,
return 1;
}
}
- else if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_INTERNAL) ||
- match->type == ZEBRA_ROUTE_STATIC)
+ else if (CHECK_FLAG (rib->flags, ZEBRA_FLAG_INTERNAL))
{
for (newhop = match->nexthop; newhop; newhop = newhop->next)
if (CHECK_FLAG (newhop->flags, NEXTHOP_FLAG_FIB)