Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
nat: fixed return values of enable/disable call
[vpp.git]
/
src
/
plugins
/
nat
/
nat44-ei
/
nat44_ei_api.c
diff --git
a/src/plugins/nat/nat44-ei/nat44_ei_api.c
b/src/plugins/nat/nat44-ei/nat44_ei_api.c
index
2d83eb7
..
8671a55
100644
(file)
--- a/
src/plugins/nat/nat44-ei/nat44_ei_api.c
+++ b/
src/plugins/nat/nat44-ei/nat44_ei_api.c
@@
-173,7
+173,9
@@
vl_api_nat44_ei_plugin_enable_disable_t_handler (
rv = nat44_ei_plugin_enable (c);
}
else
- rv = nat44_ei_plugin_disable ();
+ {
+ rv = nat44_ei_plugin_disable ();
+ }
REPLY_MACRO (VL_API_NAT44_EI_PLUGIN_ENABLE_DISABLE_REPLY);
}