summaryrefslogtreecommitdiffstats
path: root/pimd/pim_igmp_stats.c
diff options
context:
space:
mode:
authorDonatas Abraitis <donatas@opensourcerouting.org>2022-03-08 17:34:34 +0100
committerDonatas Abraitis <donatas@opensourcerouting.org>2022-03-08 18:07:57 +0100
commit1e02f2f9ab46b1cb6f65c1c49c8de22d7894d52b (patch)
treece42b558e4c0a7d28ab30fd2a716d0abea382df5 /pimd/pim_igmp_stats.c
parentMerge pull request #10646 from mobash-rasool/pim-rp-changes-new (diff)
downloadfrr-1e02f2f9ab46b1cb6f65c1c49c8de22d7894d52b.tar.xz
frr-1e02f2f9ab46b1cb6f65c1c49c8de22d7894d52b.zip
pimd: Add IGMP total groups and total source groups to statistics
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
Diffstat (limited to 'pimd/pim_igmp_stats.c')
-rw-r--r--pimd/pim_igmp_stats.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_igmp_stats.c b/pimd/pim_igmp_stats.c
index 40851a452..0cf1bb1ec 100644
--- a/pimd/pim_igmp_stats.c
+++ b/pimd/pim_igmp_stats.c
@@ -43,4 +43,6 @@ void igmp_stats_add(struct igmp_stats *a, struct igmp_stats *b)
a->mtrace_rsp += b->mtrace_rsp;
a->mtrace_req += b->mtrace_req;
a->unsupported += b->unsupported;
+ a->total_groups += b->total_groups;
+ a->total_source_groups += b->total_source_groups;
}