aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp/igmp_api.c
diff options
context:
space:
mode:
authorJakub Grajciar <jgrajcia@cisco.com>2018-06-28 12:27:52 +0200
committerDamjan Marion <dmarion@me.com>2018-06-29 10:00:17 +0000
commit91ce84374167e2b23557aae4a2472acfc6fa7c09 (patch)
tree91aca00b828464ca5e601ef6ceb62ca38f80532f /src/plugins/igmp/igmp_api.c
parente95d1a1a081e96989740eb1b46ed83ffb6fa0cc0 (diff)
igmp: bugfix and minor improvements
Change-Id: I8d284117a668dc55c06a6d68fe358a3d7e26c738 Signed-off-by: Jakub Grajciar <jgrajcia@cisco.com>
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 =