summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_abr.c
diff options
context:
space:
mode:
authorKaren Schoener <karen@voltanet.io>2021-03-26 19:20:40 +0100
committerKaren Schoener <karen@voltanet.io>2021-03-26 19:20:40 +0100
commitd8ff37092249bd2fed66de84455653645be7fa7c (patch)
treee31ed07cf157f95ef0bfe43df32751399865fbb9 /ospf6d/ospf6_abr.c
parentMerge pull request #8154 from AnuradhaKaruppiah/evpn-mh-irb-2 (diff)
downloadfrr-d8ff37092249bd2fed66de84455653645be7fa7c.tar.xz
frr-d8ff37092249bd2fed66de84455653645be7fa7c.zip
ospf6d: fix ospf6_abr_examin_summary to check for a path cost change
Fixes a regression in test case: anvl-ospfv3-16.14. Signed-off-by: Karen Schoener <karen@voltanet.io>
Diffstat (limited to 'ospf6d/ospf6_abr.c')
-rw-r--r--ospf6d/ospf6_abr.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c
index f6a246500..2393cd671 100644
--- a/ospf6d/ospf6_abr.c
+++ b/ospf6d/ospf6_abr.c
@@ -1209,7 +1209,8 @@ void ospf6_abr_examin_summary(struct ospf6_lsa *lsa, struct ospf6_area *oa)
*/
if (old_entry_updated == false) {
if ((old == NULL) || (old->type != route->type)
- || (old->path.type != route->path.type))
+ || (old->path.type != route->path.type)
+ || (old->path.cost != route->path.cost))
add_route = true;
}