summaryrefslogtreecommitdiff
path: root/pimd/pim_vty.c
diff options
context:
space:
mode:
authorSai Gomathi N <nsaigomathi@vmware.com>2022-08-31 22:20:00 -0700
committerSai Gomathi N <nsaigomathi@vmware.com>2022-09-06 00:15:38 -0700
commitd891fa78e45fc404944b8323506464746b129be5 (patch)
tree51e865a377f2667d84ec98c6b17c6c125cc42b45 /pimd/pim_vty.c
parent451cebeec2be37e7c35ee8d93243ba5127885c24 (diff)
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 d191528f7e..544f926625 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;
}