From: Christian Hopps Date: Mon, 13 Jan 2020 00:44:08 +0000 (+0000) Subject: misc: l2tp: cli: fix overly generic CLI commands X-Git-Tag: v21.01-rc0~32 X-Git-Url: https://gerrit.fd.io/r/gitweb?a=commitdiff_plain;h=4d56b18ce595a43ff5de1d168d66eab98560e7a7;p=vpp.git misc: l2tp: cli: fix overly generic CLI commands "clear counters" is not appropriate for a protocol to own. Change to "clear l2tp counters" (and "test l2tp counter"). Type: fix Signed-off-by: Christian Hopps Change-Id: I3faac3907c4697c1c95df34ac7d31e48063869a8 --- diff --git a/src/vnet/l2tp/l2tp.c b/src/vnet/l2tp/l2tp.c index 42ecfa619a5..fa112ee7986 100644 --- a/src/vnet/l2tp/l2tp.c +++ b/src/vnet/l2tp/l2tp.c @@ -185,7 +185,7 @@ test_counters_command_fn (vlib_main_t * vm, /* *INDENT-OFF* */ VLIB_CLI_COMMAND (test_counters_command, static) = { - .path = "test counters", + .path = "test lt2p counters", .short_help = "increment all active counters", .function = test_counters_command_fn, }; @@ -220,7 +220,7 @@ clear_counters_command_fn (vlib_main_t * vm, /* *INDENT-OFF* */ VLIB_CLI_COMMAND (clear_counters_command, static) = { - .path = "clear counters", + .path = "clear l2tp counters", .short_help = "clear all active counters", .function = clear_counters_command_fn, };