From 4d56b18ce595a43ff5de1d168d66eab98560e7a7 Mon Sep 17 00:00:00 2001 From: Christian Hopps Date: Mon, 13 Jan 2020 00:44:08 +0000 Subject: [PATCH 1/1] 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 --- src/vnet/l2tp/l2tp.c | 4 ++-- 1 file 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, }; -- 2.16.6