Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
1da0819
)
misc: l2tp: cli: fix overly generic CLI commands
56/28656/4
author
Christian Hopps
<
[email protected]
>
Mon, 13 Jan 2020 00:44:08 +0000
(
00:44
+0000)
committer
Damjan Marion
<
[email protected]
>
Thu, 3 Sep 2020 22:51:24 +0000
(22:51 +0000)
"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 <
[email protected]
>
Change-Id: I3faac3907c4697c1c95df34ac7d31e48063869a8
src/vnet/l2tp/l2tp.c
patch
|
blob
|
history
diff --git
a/src/vnet/l2tp/l2tp.c
b/src/vnet/l2tp/l2tp.c
index
42ecfa6
..
fa112ee
100644
(file)
--- 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,
};