summaryrefslogtreecommitdiffstats
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorAbhishek N R <abnr@vmware.com>2022-09-14 08:29:33 +0200
committerAbhishek N R <abnr@vmware.com>2022-09-14 08:29:33 +0200
commita96d64b0d62c4db95ff44810db64597bbdaa1f65 (patch)
treeb78a57956b136c934b13ef7fb786a66b3f2bfaf2 /pimd/pim_vty.c
parentMerge pull request #11899 from opensourcerouting/feature/route_validation_ext... (diff)
downloadfrr-a96d64b0d62c4db95ff44810db64597bbdaa1f65.tar.xz
frr-a96d64b0d62c4db95ff44810db64597bbdaa1f65.zip
pimd, pim6d: Changing IGMP to GM in debug macros.
Changed PIM_DEBUG_IGMP_TRACE to PIM_DEBUG_GM_TRACE and PIM_DEBUG_IGMP_TRACE_DETAIL to PIM_DEBUG_GM_TRACE_DETAIL. Hence, these macros can be used for both v6 and v4. Issue: #11895 Co-authored-by: Sai Gomathi N <nsaigomathi@vmware.com> Signed-off-by: Abhishek N R <abnr@vmware.com>
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r--pimd/pim_vty.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index 544f92662..d01cb0c87 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -66,12 +66,12 @@ int pim_debug_config_write(struct vty *vty)
vty_out(vty, "debug igmp packets\n");
++writes;
}
- /* PIM_DEBUG_IGMP_TRACE catches _DETAIL too */
+ /* PIM_DEBUG_GM_TRACE catches _DETAIL too */
if (router->debugs & PIM_MASK_GM_TRACE) {
vty_out(vty, "debug igmp trace\n");
++writes;
}
- if (PIM_DEBUG_IGMP_TRACE_DETAIL) {
+ if (PIM_DEBUG_GM_TRACE_DETAIL) {
vty_out(vty, "debug igmp trace detail\n");
++writes;
}