summaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp/cli.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/cli.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/cli.c')
-rw-r--r--src/plugins/igmp/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/igmp/cli.c b/src/plugins/igmp/cli.c
index 6ed5c5ed900..42f5932a7f2 100644
--- a/src/plugins/igmp/cli.c
+++ b/src/plugins/igmp/cli.c
@@ -129,7 +129,7 @@ igmp_listen_command_fn (vlib_main_t * vm, unformat_input_t * input,
}
rv = igmp_listen (vm, enable, sw_if_index, saddr, gaddr,
- /* cli_api_listen */ 1);
+ IGMP_CONFIG_FLAG_CLI_API_CONFIGURED);
if (rv == -1)
{
if (enable)