summaryrefslogtreecommitdiff
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-06-30 10:43:21 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-07-24 13:51:41 -0400
commit40f1f31be686ec84e15773e36b71d84d2b284cec (patch)
tree55448e35a24623176fefbd6907ba5bb22497df9b /pimd/pim_vty.c
parent862756ff85840a0fdaefb69b1a1cd7a534a04402 (diff)
pimd: Add `debug pim nht` command
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r--pimd/pim_vty.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 85342769a9..664fbac2c3 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -139,6 +139,11 @@ int pim_debug_config_write(struct vty *vty)
++writes;
}
+ if (PIM_DEBUG_PIM_NHT) {
+ vty_out(vty, "debug pim nht\n");
+ ++writes;
+ }
+
return writes;
}