summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_abr.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2018-03-12 16:37:06 -0700
committerChirag Shah <chirag@cumulusnetworks.com>2018-03-22 11:45:19 -0700
commitc601fa3f9d07ab5f36cbc019da1338f71a3d93e3 (patch)
tree75d77e2a678392c4c0e1db8658e1b9e383bb545b /ospf6d/ospf6_abr.c
parent26cff2c331c6b90c316e5f23aacc5a5f9498a979 (diff)
ospf6d: retain inter area border router type-4
During Intra area border router calculation, all border routers are marked for remove from brouter table. Once SPF calculation is done, retain inter area border router if the adv. intra border router (abr) is present in SPF table. Ticket:CM-20171 Testing Done: Validated inter area ASBR (L1) is retained at R1 and R2 post intra border router calculation. L1 -- (area 1)-- L2 -- (area 0) -- R1 --- R2 Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_abr.c')
-rw-r--r--ospf6d/ospf6_abr.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/ospf6d/ospf6_abr.c b/ospf6d/ospf6_abr.c
index 67d18566ae..7ffb80724b 100644
--- a/ospf6d/ospf6_abr.c
+++ b/ospf6d/ospf6_abr.c
@@ -912,8 +912,9 @@ void ospf6_abr_examin_summary(struct ospf6_lsa *lsa, struct ospf6_area *oa)
ospf6_route_merge_nexthops(old, route);
if (is_debug)
- zlog_debug("%s: Update route: %s nh count %u",
- __PRETTY_FUNCTION__, buf,
+ zlog_debug("%s: Update route: %s old cost %u new cost %u nh count %u",
+ __PRETTY_FUNCTION__,
+ buf, old->path.cost, route->path.cost,
listcount(route->nh_list));
/* Update RIB/FIB */
@@ -924,7 +925,8 @@ void ospf6_abr_examin_summary(struct ospf6_lsa *lsa, struct ospf6_area *oa)
ospf6_route_delete(route);
} else {
if (is_debug)
- zlog_debug("Install route: %s nh count %u", buf,
+ zlog_debug("%s: Install route: %s cost %u nh count %u",
+ __PRETTY_FUNCTION__, buf, route->path.cost,
listcount(route->nh_list));
/* ospf6_ia_add_nw_route (table, &prefix, route); */
ospf6_route_add(route, table);