Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
IGMP: enable command on cli
[vpp.git]
/
src
/
plugins
/
igmp
/
igmp.c
diff --git
a/src/plugins/igmp/igmp.c
b/src/plugins/igmp/igmp.c
index
5cb8f02
..
98ac271
100644
(file)
--- 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);
}