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
This commit is contained in:
Martin Winter 2021-03-30 01:00:51 +02:00 committed by GitHub
commit 9b25636e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}