summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2022-01-21 20:08:48 +0100
committerGitHub <noreply@github.com>2022-01-21 20:08:48 +0100
commit9e84443acac051c31e504d8da657c2776332edf5 (patch)
treeaaa03d3cbc486580de447b6f21c8f98bbe56e2ba
parentMerge pull request #8011 from donaldsharp/starvation (diff)
parentpimd: debug pim fixes (diff)
downloadfrr-9e84443acac051c31e504d8da657c2776332edf5.tar.xz
frr-9e84443acac051c31e504d8da657c2776332edf5.zip
Merge pull request #10398 from patrasar/pim_debug_fix
-rw-r--r--pimd/pim_cmd.c4
-rw-r--r--pimd/pim_vty.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index c0401b83c..b185bf5a9 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -11227,6 +11227,10 @@ void pim_cmd_init(void)
install_element(CONFIG_NODE, &no_debug_pim_events_cmd);
install_element(CONFIG_NODE, &debug_pim_packets_cmd);
install_element(CONFIG_NODE, &no_debug_pim_packets_cmd);
+ install_element(CONFIG_NODE, &debug_pim_packetdump_send_cmd);
+ install_element(CONFIG_NODE, &no_debug_pim_packetdump_send_cmd);
+ install_element(CONFIG_NODE, &debug_pim_packetdump_recv_cmd);
+ install_element(CONFIG_NODE, &no_debug_pim_packetdump_recv_cmd);
install_element(CONFIG_NODE, &debug_pim_trace_cmd);
install_element(CONFIG_NODE, &no_debug_pim_trace_cmd);
install_element(CONFIG_NODE, &debug_pim_trace_detail_cmd);
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 99d25caff..81e1ac4e3 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -161,6 +161,11 @@ int pim_debug_config_write(struct vty *vty)
++writes;
}
+ if (PIM_DEBUG_PIM_NHT_RP) {
+ vty_out(vty, "debug pim nht rp\n");
+ ++writes;
+ }
+
return writes;
}