summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_route.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2018-05-08 20:03:48 -0400
committerGitHub <noreply@github.com>2018-05-08 20:03:48 -0400
commitbf16dbf1de4a258c69b2beaf6b7e65f3a1c70586 (patch)
tree51dd359142efd8cc64d05cc55176a20d1daf9e0a /ospf6d/ospf6_route.c
parent35481c03c341a56a8fb57a1acd1824f7c71b97ec (diff)
parenta2d0055aac3725eb253f3c07f33624a8a3eb15ca (diff)
Merge pull request #2173 from chiragshah6/ospfv3_dev
ospf6d: fix area border router duplicate
Diffstat (limited to 'ospf6d/ospf6_route.c')
-rw-r--r--ospf6d/ospf6_route.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c
index 39272b3701..15d8eb6cf2 100644
--- a/ospf6d/ospf6_route.c
+++ b/ospf6d/ospf6_route.c
@@ -925,10 +925,11 @@ struct ospf6_route *ospf6_route_next(struct ospf6_route *route)
struct ospf6_route *next = route->next;
if (IS_OSPF6_DEBUG_ROUTE(MEMORY))
- zlog_info("%s %p: route next: %p<-[%p]->%p",
+ zlog_info("%s %p: route next: %p<-[%p]->%p , route ref count %u",
ospf6_route_table_name(route->table),
(void *)route->table, (void *)route->prev,
- (void *)route, (void *)route->next);
+ (void *)route, (void *)route->next,
+ route->lock);
ospf6_route_unlock(route);
if (next)