From 1457828c596c56f271d71f9a56c39728ee9e4c67 Mon Sep 17 00:00:00 2001 From: Filip Varga Date: Wed, 6 Apr 2022 12:56:50 +0200 Subject: nat: nat66 cli bug fix Two similar CLI paths in nat66 plugin cause unexpected behavior. Bug fix following [1] fix. [1] https://gerrit.fd.io/r/c/vpp/+/35859 Change-Id: I771dd230fa6edb6bab3936652770a388d6e41a3f Type: fix Signed-off-by: Filip Varga --- src/plugins/nat/nat66/nat66_cli.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/plugins/nat/nat66/nat66_cli.c b/src/plugins/nat/nat66/nat66_cli.c index 0ca40875584..9ef8d056685 100644 --- a/src/plugins/nat/nat66/nat66_cli.c +++ b/src/plugins/nat/nat66/nat66_cli.c @@ -330,16 +330,16 @@ nat66_show_static_mappings_command_fn (vlib_main_t * vm, * @cliexpar * @cliexstart{nat66} * To enable NAT66 plugin - * vpp# nat66 enable + * vpp# nat66 plugin enable * To disable NAT66 plugin - * vpp# nat66 disable + * vpp# nat66 plugin disable * To enable NAT66 plugin with outside-vrf id 10 - * vpp# nat66 enable outside-vrf 10 + * vpp# nat66 plugin enable outside-vrf 10 * @cliexend ?*/ VLIB_CLI_COMMAND (nat66_enable_disable_command, static) = { - .path = "nat66", - .short_help = "nat66 ]>|disable", + .path = "nat66 plugin", + .short_help = "nat66 plugin ]>|disable", .function = nat66_enable_disable_command_fn, }; -- cgit 1.2.3-korg