summaryrefslogtreecommitdiffstats
path: root/src/plugins/ioam
diff options
context:
space:
mode:
authorSwarup Nayak <swarupnpvt@gmail.com>2017-12-21 11:35:33 +0530
committerSwarup Nayak <swarupnpvt@gmail.com>2017-12-21 11:37:38 +0530
commit529a425b04751d0590de2f398a20bd36d0e25308 (patch)
tree88268b240b886e7f6306a6fe132082bb067dbe5c /src/plugins/ioam
parent4ec387118edd778cf04baeff28e85d7f8f5bf95d (diff)
VPP-1109 Fix loop for some CLI (code review)
Change-Id: I518387ab479bee4778d45a33c95f7b0f72aa1b72 Signed-off-by: Swarup Nayak <swarupnpvt@gmail.com>
Diffstat (limited to 'src/plugins/ioam')
-rw-r--r--src/plugins/ioam/ip6/ioam_cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/ioam/ip6/ioam_cache.c b/src/plugins/ioam/ip6/ioam_cache.c
index 627f8b65d13..e2f878a5f77 100644
--- a/src/plugins/ioam/ip6/ioam_cache.c
+++ b/src/plugins/ioam/ip6/ioam_cache.c
@@ -351,6 +351,9 @@ show_ioam_cache_command_fn (vlib_main_t * vm,
{
if (unformat (input, "verbose"))
verbose = 1;
+ else
+ return clib_error_return (0, "unknown input `%U'",
+ format_unformat_error, input);
}
ioam_cache_table_print (vm, verbose);