nat: fixing cli bug for nat44-ei and nat44-ed 63/32063/3
authorFilip Varga <fivarga@cisco.com>
Tue, 20 Apr 2021 14:25:16 +0000 (16:25 +0200)
committerOle Tr�an <otroan@employees.org>
Tue, 20 Apr 2021 17:05:10 +0000 (17:05 +0000)
Removing obsolete optional parameters.

Type: fix

Change-Id: I135eb4767979ab81636da16e91752a2ad80e0a45
Signed-off-by: Filip Varga <fivarga@cisco.com>
src/plugins/nat/nat44-ed/nat44_ed_cli.c
src/plugins/nat/nat44-ei/nat44_ei_cli.c

index bff941f..fd4b1ec 100644 (file)
@@ -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,
 };
 
index 96c6de3..6278c22 100644 (file)
@@ -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,
 };