summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_route.c
diff options
context:
space:
mode:
authorChirag Shah <chirag@cumulusnetworks.com>2017-10-04 13:56:54 -0700
committerChirag Shah <chirag@cumulusnetworks.com>2017-10-04 14:35:54 -0700
commit6f7af48c127d76eaecdfe07b9c31d7b9ccd5456a (patch)
tree07ee132cb725b137cf52cd2fc82b34f71a7c0f4c /ospf6d/ospf6_route.c
parentbb0470088d303722e823d199a1cecfa40cf45027 (diff)
ospf6d: add debug ospf6 route memory to config
vty config write to display 'debug ospf6 route memory'. Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_route.c')
-rw-r--r--ospf6d/ospf6_route.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ospf6d/ospf6_route.c b/ospf6d/ospf6_route.c
index e58eab2b15..117d2eef89 100644
--- a/ospf6d/ospf6_route.c
+++ b/ospf6d/ospf6_route.c
@@ -1516,6 +1516,9 @@ int config_write_ospf6_debug_route(struct vty *vty)
vty_out(vty, "debug ospf6 route intra-area\n");
if (IS_OSPF6_DEBUG_ROUTE(INTER))
vty_out(vty, "debug ospf6 route inter-area\n");
+ if (IS_OSPF6_DEBUG_ROUTE(MEMORY))
+ vty_out(vty, "debug ospf6 route memory\n");
+
return 0;
}