diff options
author | Christian Hopps <chopps@labn.net> | 2020-01-13 00:44:08 +0000 |
---|---|---|
committer | Damjan Marion <dmarion@me.com> | 2020-09-03 22:51:24 +0000 |
commit | 4d56b18ce595a43ff5de1d168d66eab98560e7a7 (patch) | |
tree | fa155646c427b0c89a405c521156d0c9b50ef6c0 | |
parent | 1da08197eb4e3eba9e795ee14bcac8417506378b (diff) |
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 <chopps@labn.net>
Change-Id: I3faac3907c4697c1c95df34ac7d31e48063869a8
-rw-r--r-- | src/vnet/l2tp/l2tp.c | 4 |
1 files changed, 2 insertions, 2 deletions
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, }; |