]> git.puffer.fish Git - matthieu/frr.git/commitdiff
ospf6d: fix ospf6_abr_examin_summary to check for a path cost change
authorKaren Schoener <karen@voltanet.io>
Fri, 26 Mar 2021 18:20:40 +0000 (14:20 -0400)
committerKaren Schoener <karen@voltanet.io>
Fri, 26 Mar 2021 18:20:40 +0000 (14:20 -0400)
Fixes a regression in test case: anvl-ospfv3-16.14.

Signed-off-by: Karen Schoener <karen@voltanet.io>
ospf6d/ospf6_abr.c

index f6a246500b22cd8dfd7205cd319c0d69ebb4105f..2393cd6713db23fb00d86c891777ff1abf46a138 100644 (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;
        }