mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-02 22:09:48 +00:00
ospf6d: fix ospf6 crash in inp lsa processing
Use ospf6_prefix_same for comparing two exact same prefix to determine ECMP for a route. ospf6_route_cmp expects two different prefix rather being exactly same. Ticket:CM-22630 Testing Done: performed ECMP of intra network prefix route via sending same route via different available ospf6 paths. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
eaae6204a9
commit
beabf870d7
@ -1729,7 +1729,7 @@ void ospf6_intra_prefix_lsa_add(struct ospf6_lsa *lsa)
|
||||
listnode_add_sort(route->paths, path);
|
||||
|
||||
old = ospf6_route_lookup(&route->prefix, oa->route_table);
|
||||
if (old && (ospf6_route_cmp(route, old) == 0)) {
|
||||
if (old) {
|
||||
if (IS_OSPF6_DEBUG_EXAMIN(INTRA_PREFIX)) {
|
||||
prefix2str(&route->prefix, buf, sizeof(buf));
|
||||
zlog_debug("%s Update route: %s old cost %u new cost %u paths %u nh %u",
|
||||
|
Loading…
Reference in New Issue
Block a user