summaryrefslogtreecommitdiff
path: root/pimd/pim_cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r--pimd/pim_cmd.c32
1 files changed, 16 insertions, 16 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c
index c2453efa06..c2f7396c18 100644
--- a/pimd/pim_cmd.c
+++ b/pimd/pim_cmd.c
@@ -1129,11 +1129,11 @@ static void igmp_show_groups(struct pim_instance *pim, struct vty *vty, bool uj)
if (uj) {
json = json_object_new_object();
- json_object_int_add(json, "totalGroups", pim->igmp_group_count);
+ json_object_int_add(json, "totalGroups", pim->gm_group_count);
json_object_int_add(json, "watermarkLimit",
pim->gm_watermark_limit);
} else {
- vty_out(vty, "Total IGMP groups: %u\n", pim->igmp_group_count);
+ vty_out(vty, "Total IGMP groups: %u\n", pim->gm_group_count);
vty_out(vty, "Watermark warn limit(%s): %u\n",
pim->gm_watermark_limit ? "Set" : "Not Set",
pim->gm_watermark_limit);
@@ -4358,9 +4358,9 @@ DEFUN (debug_igmp,
DEBUG_STR
DEBUG_IGMP_STR)
{
- PIM_DO_DEBUG_IGMP_EVENTS;
- PIM_DO_DEBUG_IGMP_PACKETS;
- PIM_DO_DEBUG_IGMP_TRACE;
+ PIM_DO_DEBUG_GM_EVENTS;
+ PIM_DO_DEBUG_GM_PACKETS;
+ PIM_DO_DEBUG_GM_TRACE;
return CMD_SUCCESS;
}
@@ -4371,9 +4371,9 @@ DEFUN (no_debug_igmp,
DEBUG_STR
DEBUG_IGMP_STR)
{
- PIM_DONT_DEBUG_IGMP_EVENTS;
- PIM_DONT_DEBUG_IGMP_PACKETS;
- PIM_DONT_DEBUG_IGMP_TRACE;
+ PIM_DONT_DEBUG_GM_EVENTS;
+ PIM_DONT_DEBUG_GM_PACKETS;
+ PIM_DONT_DEBUG_GM_TRACE;
return CMD_SUCCESS;
}
@@ -4385,7 +4385,7 @@ DEFUN (debug_igmp_events,
DEBUG_IGMP_STR
DEBUG_IGMP_EVENTS_STR)
{
- PIM_DO_DEBUG_IGMP_EVENTS;
+ PIM_DO_DEBUG_GM_EVENTS;
return CMD_SUCCESS;
}
@@ -4397,7 +4397,7 @@ DEFUN (no_debug_igmp_events,
DEBUG_IGMP_STR
DEBUG_IGMP_EVENTS_STR)
{
- PIM_DONT_DEBUG_IGMP_EVENTS;
+ PIM_DONT_DEBUG_GM_EVENTS;
return CMD_SUCCESS;
}
@@ -4409,7 +4409,7 @@ DEFUN (debug_igmp_packets,
DEBUG_IGMP_STR
DEBUG_IGMP_PACKETS_STR)
{
- PIM_DO_DEBUG_IGMP_PACKETS;
+ PIM_DO_DEBUG_GM_PACKETS;
return CMD_SUCCESS;
}
@@ -4421,7 +4421,7 @@ DEFUN (no_debug_igmp_packets,
DEBUG_IGMP_STR
DEBUG_IGMP_PACKETS_STR)
{
- PIM_DONT_DEBUG_IGMP_PACKETS;
+ PIM_DONT_DEBUG_GM_PACKETS;
return CMD_SUCCESS;
}
@@ -4433,7 +4433,7 @@ DEFUN (debug_igmp_trace,
DEBUG_IGMP_STR
DEBUG_IGMP_TRACE_STR)
{
- PIM_DO_DEBUG_IGMP_TRACE;
+ PIM_DO_DEBUG_GM_TRACE;
return CMD_SUCCESS;
}
@@ -4445,7 +4445,7 @@ DEFUN (no_debug_igmp_trace,
DEBUG_IGMP_STR
DEBUG_IGMP_TRACE_STR)
{
- PIM_DONT_DEBUG_IGMP_TRACE;
+ PIM_DONT_DEBUG_GM_TRACE;
return CMD_SUCCESS;
}
@@ -4458,7 +4458,7 @@ DEFUN (debug_igmp_trace_detail,
DEBUG_IGMP_TRACE_STR
"detailed\n")
{
- PIM_DO_DEBUG_IGMP_TRACE_DETAIL;
+ PIM_DO_DEBUG_GM_TRACE_DETAIL;
return CMD_SUCCESS;
}
@@ -4471,7 +4471,7 @@ DEFUN (no_debug_igmp_trace_detail,
DEBUG_IGMP_TRACE_STR
"detailed\n")
{
- PIM_DONT_DEBUG_IGMP_TRACE_DETAIL;
+ PIM_DONT_DEBUG_GM_TRACE_DETAIL;
return CMD_SUCCESS;
}