]> git.proxmox.com Git - mirror_frr.git/commit
ospf6d: fix area border router duplicate
authorChirag Shah <chirag@cumulusnetworks.com>
Fri, 4 May 2018 02:39:07 +0000 (19:39 -0700)
committerChirag Shah <chirag@cumulusnetworks.com>
Tue, 8 May 2018 18:53:21 +0000 (11:53 -0700)
commit99ab28cb0279a52c339723f2eed1bd6318171ec8
tree22b32b19863b132f9c356329ba6a7c71bc20f19e
parent75a73eeb26622fc1860664c622bb4cd4813527c4
ospf6d: fix area border router duplicate

Avoid duplicate ABR brouter entry and
its nexthops.
The route lookup results in first element of the
route/redix node. In case of Intra and inter area
brouter, the first element always intra brouter.
the first element comparison results in always addition
of new element for inter area brouter in brouter table.
Now, iterate all elements of the route node and compare
for brouter origin, if it is same simply update its
nexthops to FIB.

brouter and brouter route nexthops should be merge to avoid
duplicate nexthops for the inter area routes.

Ticket:CM-20807

Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
ospf6d/ospf6_abr.c
ospf6d/ospf6_top.c