summaryrefslogtreecommitdiffstats
path: root/pimd/pim_igmp.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2019-12-31 21:28:29 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2020-01-03 14:41:46 +0100
commit6b5122a0be905e7e42b1a14586b60997fca5ad76 (patch)
treebd2e4c077fd3900f3a837cac541dcc73e4349efa /pimd/pim_igmp.c
parentpimd: Convert the upstream_list and hash to a rb tree (diff)
downloadfrr-6b5122a0be905e7e42b1a14586b60997fca5ad76.tar.xz
frr-6b5122a0be905e7e42b1a14586b60997fca5ad76.zip
pimd: Do not warn for common occurrence in igmp code
Do not warn when we receive a multicast address that matches 224.0.0.0/24. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_igmp.c')
-rw-r--r--pimd/pim_igmp.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/pimd/pim_igmp.c b/pimd/pim_igmp.c
index 54ad17a99..39ef706f7 100644
--- a/pimd/pim_igmp.c
+++ b/pimd/pim_igmp.c
@@ -1113,8 +1113,10 @@ struct igmp_group *igmp_add_group_by_addr(struct igmp_sock *igmp,
}
if (pim_is_group_224_0_0_0_24(group_addr)) {
- zlog_warn("%s: Group specified is part of 224.0.0.0/24",
- __PRETTY_FUNCTION__);
+ if (PIM_DEBUG_IGMP_TRACE)
+ zlog_debug(
+ "%s: Group specified %s is part of 224.0.0.0/24",
+ __PRETTY_FUNCTION__, inet_ntoa(group_addr));
return NULL;
}
/*