]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_ase.c
ospfd: use rib metric as the base for set metric +/-
[mirror_frr.git] / ospfd / ospf_ase.c
index 80390af505cdc4f9dc2df3eb5af587091bebca03..cc2110d43331d208a090a2d3a829af817b6fe47a 100644 (file)
@@ -159,7 +159,9 @@ ospf_ase_calculate_new_route(struct ospf_lsa *lsa,
 
        if (!IS_EXTERNAL_METRIC(al->e[0].tos)) {
                if (IS_DEBUG_OSPF(lsa, LSA))
-                       zlog_debug("Route[External]: type-1 created.");
+                       zlog_debug(
+                               "Route[External]: type-1 created, asbr cost:%d  metric:%d.",
+                               asbr_route->cost, metric);
                new->path_type = OSPF_PATH_TYPE1_EXTERNAL;
                new->cost = asbr_route->cost + metric; /* X + Y */
        } else {