summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Varga <fivarga@cisco.com>2021-04-20 16:25:16 +0200
committerOle Tr�an <otroan@employees.org>2021-04-20 17:05:10 +0000
commitf9e02772bc90a5995202d23bf98199cba07f3d2f (patch)
tree30b5b8687a52cededae014c792e37e15db1bc98c
parentadef691a6f544c30c417a8f747688cfbf30de356 (diff)
nat: fixing cli bug for nat44-ei and nat44-ed
Removing obsolete optional parameters. Type: fix Change-Id: I135eb4767979ab81636da16e91752a2ad80e0a45 Signed-off-by: Filip Varga <fivarga@cisco.com>
-rw-r--r--src/plugins/nat/nat44-ed/nat44_ed_cli.c2
-rw-r--r--src/plugins/nat/nat44-ei/nat44_ei_cli.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/nat/nat44-ed/nat44_ed_cli.c b/src/plugins/nat/nat44-ed/nat44_ed_cli.c
index bff941f409a..fd4b1ec041c 100644
--- a/src/plugins/nat/nat44-ed/nat44_ed_cli.c
+++ b/src/plugins/nat/nat44-ed/nat44_ed_cli.c
@@ -1974,7 +1974,7 @@ VLIB_CLI_COMMAND (nat44_show_interface_address_command, static) = {
?*/
VLIB_CLI_COMMAND (nat44_show_sessions_command, static) = {
.path = "show nat44 sessions",
- .short_help = "show nat44 sessions [detail|metrics]",
+ .short_help = "show nat44 sessions",
.function = nat44_show_sessions_command_fn,
};
diff --git a/src/plugins/nat/nat44-ei/nat44_ei_cli.c b/src/plugins/nat/nat44-ei/nat44_ei_cli.c
index 96c6de34125..6278c220031 100644
--- a/src/plugins/nat/nat44-ei/nat44_ei_cli.c
+++ b/src/plugins/nat/nat44-ei/nat44_ei_cli.c
@@ -1952,7 +1952,7 @@ VLIB_CLI_COMMAND (nat44_ei_show_interface_address_command, static) = {
?*/
VLIB_CLI_COMMAND (nat44_ei_show_sessions_command, static) = {
.path = "show nat44 ei sessions",
- .short_help = "show nat44 ei sessions [detail|metrics]",
+ .short_help = "show nat44 ei sessions [detail]",
.function = nat44_ei_show_sessions_command_fn,
};