summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2008-09-18 17:24:30 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2008-09-18 17:24:30 -0700
commit438108db37ecc8166e5172b3328dce1c39f6086d (patch)
tree79302ab58dc41748207c56f38f5aa7a67aaee8a0
parentc2e82029179e99ade627ab1d9649b5bd0b7da302 (diff)
downloadquagga-438108db37ecc8166e5172b3328dce1c39f6086d.tar.bz2
quagga-438108db37ecc8166e5172b3328dce1c39f6086d.tar.xz
fix ipv6 typo in recursive route update code
-rw-r--r--zebra/zebra_rib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index ac786c40..69249779 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -605,7 +605,7 @@ nexthop_active_ipv6 (struct rib *rib, struct nexthop *nexthop, int set,
else if (! CHECK_FLAG(nexthop->flags, NEXTHOP_FLAG_RECURSIVE)
|| newhop->ifindex != nexthop->ifindex
|| !IPV6_ADDR_SAME(&nexthop->gate.ipv6,
- &newhop->gate.ipv4))
+ &newhop->gate.ipv6))
SET_FLAG (rib->flags, ZEBRA_FLAG_CHANGED);
return 1;