]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_igmp_stats.c
Merge pull request #10746 from ton31337/feature/show_group_type_under_rp_info_cli
[mirror_frr.git] / pimd / pim_igmp_stats.c
index 428816e1f095d6d7a02b400e7d0d0a5ce0c26c60..0cf1bb1ec130e79ad1a1315c36335fb03d5908f1 100644 (file)
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
 #include "pim_igmp_stats.h"
 
 void igmp_stats_init(struct igmp_stats *stats)
@@ -39,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;
 }