commit | 77a1c4e05ca5a7d7bf07456758f7c934ee867884 | [log] [tgz] |
---|---|---|
author | Joakim Tjernlund <Joakim.Tjernlund@transmode.se> | Sun Feb 01 11:12:11 2009 +0100 |
committer | Paul Jakma <paul@quagga.net> | Thu Jun 25 15:36:08 2009 +0100 |
tree | 47553373b16dd033a0866624dd54b8b851cbdb09 | |
parent | cbcd9bfc503f08b99f5360b1aae3a5362d25a665 [diff] [blame] |
[ospfd] compare ifIndex too when matching paths ospf_path_lookup(), ospf_route_match_same() and ospf_ase_route_match_same() needs to compare if the interface matches too.
diff --git a/ospfd/ospf_ase.c b/ospfd/ospf_ase.c index 3eb29f8..044f97c 100644 --- a/ospfd/ospf_ase.c +++ b/ospfd/ospf_ase.c
@@ -593,6 +593,8 @@ if (! IPV4_ADDR_SAME (&op->nexthop, &newop->nexthop)) return 0; + if (op->oi->ifp->ifindex != newop->oi->ifp->ifindex) + return 0; } return 1; }