aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp/igmp_api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/igmp/igmp_api.c')
-rw-r--r--src/plugins/igmp/igmp_api.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/igmp/igmp_api.c b/src/plugins/igmp/igmp_api.c
index fc5ce1b6431..d283a0f3935 100644
--- a/src/plugins/igmp/igmp_api.c
+++ b/src/plugins/igmp/igmp_api.c
@@ -79,7 +79,9 @@ vl_api_igmp_listen_t_handler (vl_api_igmp_listen_t * mp)
clib_memcpy (&saddr.ip4.as_u8, mp->saddr, sizeof (u8) * 4);
clib_memcpy (&gaddr.ip4.as_u8, mp->gaddr, sizeof (u8) * 4);
- rv = igmp_listen (vm, mp->enable, ntohl (mp->sw_if_index), saddr, gaddr, 1);
+ rv =
+ igmp_listen (vm, mp->enable, ntohl (mp->sw_if_index), saddr, gaddr,
+ IGMP_CONFIG_FLAG_CLI_API_CONFIGURED);
done:;
unix_shared_memory_queue_t *q =