diff options
author | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-08-02 12:55:09 +0200 |
---|---|---|
committer | Sai Gomathi N <nsaigomathi@vmware.com> | 2022-08-26 10:14:08 +0200 |
commit | 8934215f65b9b871f97848bb1ac65d4160d2581d (patch) | |
tree | 3acfa4b64c14c2d5602ea6a2788f58d983708acc /pimd/pim_cmd.c | |
parent | Merge pull request #11854 from donaldsharp/memory_walk_in_gdb (diff) | |
download | frr-8934215f65b9b871f97848bb1ac65d4160d2581d.tar.xz frr-8934215f65b9b871f97848bb1ac65d4160d2581d.zip |
pimd: Modifying member of pim_instance to accomodate IPv6 changes
Modifying igmp_group_count of struct pim_instance
to gm_group_count which is to be used for both IGMP and MLD.
Signed-off-by: Sai Gomathi N <nsaigomathi@vmware.com>
Diffstat (limited to 'pimd/pim_cmd.c')
-rw-r--r-- | pimd/pim_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index c2453efa0..f0b6037db 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); |