summaryrefslogtreecommitdiffstats
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-09-01 07:20:00 +0200
committerSai Gomathi N <nsaigomathi@vmware.com>2022-09-06 09:15:38 +0200
commitd891fa78e45fc404944b8323506464746b129be5 (patch)
tree51e865a377f2667d84ec98c6b17c6c125cc42b45 /pimd/pim_vty.c
parentMerge pull request #11902 from SaiGomathiN/igmp-to-gm (diff)
downloadfrr-d891fa78e45fc404944b8323506464746b129be5.tar.xz
frr-d891fa78e45fc404944b8323506464746b129be5.zip
pimd, pim6d: Changing IGMP to GM in debug macros
Changing PIM_DO_DEBUG_IGMP_EVENTS to PIM_DO_DEBUG_GM_EVENTS PIM_DO_DEBUG_IGMP_PACKETS to PIM_DO_DEBUG_GM_PACKETS PIM_DO_DEBUG_IGMP_TRACE to PIM_DO_DEBUG_GM_TRACE PIM_DO_DEBUG_IGMP_TRACE_DETAIL to PIM_DO_DEBUG_GM_TRACE_DETAIL PIM_DONT_DEBUG_IGMP_EVENTS to PIM_DONT_DEBUG_GM_EVENTS PIM_DONT_DEBUG_IGMP_PACKETS to PIM_DONT_DEBUG_GM_PACKETS PIM_DONT_DEBUG_IGMP_TRACE to PIM_DONT_DEBUG_GM_TRACE PIM_DONT_DEBUG_IGMP_TRACE_DETAIL to PIM_DONT_DEBUG_GM_TRACE_DETAIL PIM_MASK_IGMP_EVENTS to PIM_MASK_GM_EVENTS PIM_MASK_IGMP_PACKETS to PIM_MASK_GM_PACKETS PIM_MASK_IGMP_TRACE to PIM_MASK_GM_TRACE PIM_MASK_IGMP_TRACE_DETAIL to PIM_MASK_GM_TRACE_DETAIL to be used for both IGMP and MLD debugs. Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim_vty.c')
-rw-r--r--pimd/pim_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_vty.c b/pimd/pim_vty.c
index d191528f7..544f92662 100644
--- a/pimd/pim_vty.c
+++ b/pimd/pim_vty.c
@@ -67,7 +67,7 @@ int pim_debug_config_write(struct vty *vty)
++writes;
}
/* PIM_DEBUG_IGMP_TRACE catches _DETAIL too */
- if (router->debugs & PIM_MASK_IGMP_TRACE) {
+ if (router->debugs & PIM_MASK_GM_TRACE) {
vty_out(vty, "debug igmp trace\n");
++writes;
}