summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_vty.c
diff options
context:
space:
mode:
authorTom Goff <thomas.goff@boeing.com>2010-01-27 00:30:22 +0000
committerDavid Lamparter <equinox@diac24.net>2010-02-05 06:05:14 +0100
commit659811a522cda0c95e83bfdde41b970442b1fbd3 (patch)
treea879329ee9f6eed8d47a4308257b0237860e8383 /ospfd/ospf_vty.c
parent5f23da374fc5ca4a69fd3a3b9f4f2bc337d2b21e (diff)
downloadquagga-659811a522cda0c95e83bfdde41b970442b1fbd3.tar.bz2
quagga-659811a522cda0c95e83bfdde41b970442b1fbd3.tar.xz
zebra: consider all nexthops when looking for a gateway match
* zebra_rib.c: (rib_delete_ipv4 and rib_delete_ipv6) A route is not deleted unless the given gateway is first in the nexthop list. This can leave a route containing an invalid nexthop in the routing table which might later be used. Instead look at all nexthops to find a match. forward-ported to apply on top of Joakim Tjernlund's "don't delete too many routes" by David Lamparter. Signed-off-by: David Lamparter <equinox@diac24.net>
Diffstat (limited to 'ospfd/ospf_vty.c')
0 files changed, 0 insertions, 0 deletions