aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/igmp/igmp.c
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2018-08-27 05:45:07 -0700
committerDamjan Marion <dmarion@me.com>2018-08-27 17:11:13 +0000
commitfe0a2c5a45e69eeff318e4419afe651eacfaea21 (patch)
tree261a48b926466f19a8a2e847a3bcd4dc9c542439 /src/plugins/igmp/igmp.c
parent9514fab0423725fddcb0a4f5ec070ac8d2764ac8 (diff)
IGMP: enable command on cli
Change-Id: I1f741b66ab8e3ecbb5c0d248b72e52c56545d5f3 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/plugins/igmp/igmp.c')
-rw-r--r--src/plugins/igmp/igmp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/igmp/igmp.c b/src/plugins/igmp/igmp.c
index 5cb8f02e9f5..98ac27168ea 100644
--- a/src/plugins/igmp/igmp.c
+++ b/src/plugins/igmp/igmp.c
@@ -450,6 +450,10 @@ igmp_enable_disable (u32 sw_if_index, u8 enable, igmp_mode_t mode)
hash_free (config->igmp_group_by_key);
pool_put (im->configs, config);
}
+ else
+ {
+ return -1;
+ }
return (0);
}