summaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/igmp/input.c')
-rw-r--r--src/plugins/igmp/input.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/plugins/igmp/input.c b/src/plugins/igmp/input.c
index 4322f50b70c..829317d4543 100644
--- a/src/plugins/igmp/input.c
+++ b/src/plugins/igmp/input.c
@@ -410,7 +410,7 @@ igmp_parse_report (vlib_main_t * vm, vlib_node_runtime_t * node,
if (config)
{
config->flags |= IGMP_CONFIG_FLAG_QUERY_RESP_RECVED;
- if (config->cli_api_configured)
+ if (config->flags & IGMP_CONFIG_FLAG_CLI_API_CONFIGURED)
{
IGMP_DBG ("Interface %u has (S,G)s configured by CLI/API",
sw_if_index);
@@ -452,6 +452,10 @@ igmp_parse_report (vlib_main_t * vm, vlib_node_runtime_t * node,
src_addr++;
}
}
+ else
+ {
+ j = clib_net_to_host_u16 (igmp_group->n_src_addresses);
+ }
}
else if (igmp_group->type ==
IGMP_MEMBERSHIP_GROUP_mode_is_filter_exclude)