diff options
author | flyingeagle23 <wang.hui56@zte.com.cn> | 2017-04-20 20:01:14 +0800 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2017-04-21 14:56:03 +0000 |
commit | e212506138fffc57678e05a24c63dbe16ccae3fa (patch) | |
tree | 58a2d20258c8dd2d6254614bbc7293b35fa51d3d /src/vnet | |
parent | 9c2b9f413cafe25840ad418dea571e0e1311ce60 (diff) |
[vpp-705]uri_cli issue:show session get nothing tips when session management disable
Change-Id: I6844732adcfdd534512f0925059d92b70dcdc080
Signed-off-by: flyingeagle23 <wang.hui56@zte.com.cn>
Diffstat (limited to 'src/vnet')
-rwxr-xr-x[-rw-r--r--] | src/vnet/session/session_cli.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/session_cli.c b/src/vnet/session/session_cli.c index 38762afc..f5990c81 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) |