summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Winter <mwinter@opensourcerouting.org>2021-03-30 01:00:51 +0200
committerGitHub <noreply@github.com>2021-03-30 01:00:51 +0200
commit9b25636e14b99e8a5ff87930bc078b6966f93f1c (patch)
tree836bcf29f39e22dcc583f33a882135047a9f1c02
parent5a0f0ca6cdfdb054c5ceccd5481edbf0b33e9f9e (diff)
parentd8ff37092249bd2fed66de84455653645be7fa7c (diff)
Merge pull request #8351 from volta-networks/fix_ospf6_abr_examin_summary_check_cost_change
ospf6d: fix ospf6_abr_examin_summary to check for a path cost change
-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 f6a246500b..2393cd6713 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;
}