summaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rwxr-xr-x[-rw-r--r--]src/vnet/session/session_cli.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c
index 38762afc8bb..f5990c811b7 100644..100755
--- a/src/vnet/session/session_cli.c
+++ b/src/vnet/session/session_cli.c
@@ -80,7 +80,7 @@ show_session_command_fn (vlib_main_t * vm, unformat_input_t * input,
if (!smm->is_enabled)
{
- clib_error_return (0, "session layer is not enabled");
+ return clib_error_return (0, "session layer is not enabled");
}
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)
@@ -152,7 +152,7 @@ clear_session_command_fn (vlib_main_t * vm, unformat_input_t * input,
if (!smm->is_enabled)
{
- clib_error_return (0, "session layer is not enabled");
+ return clib_error_return (0, "session layer is not enabled");
}
while (unformat_check_input (input) != UNFORMAT_END_OF_INPUT)