Skip to content

Commit

Permalink
ospf6d: fix ospf6_abr_examin_summary to check for a path cost change
Browse files Browse the repository at this point in the history
Fixes a regression in test case: anvl-ospfv3-16.14.

Signed-off-by: Karen Schoener <karen@voltanet.io>
  • Loading branch information
Karen Schoener committed Mar 26, 2021
1 parent 694df37 commit d8ff370
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ospf6d/ospf6_abr.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit d8ff370

Please sign in to comment.