From 2bd3f8a525d5767ddcc19342167f78ad3c7d5997 Mon Sep 17 00:00:00 2001 From: Hongjun Ni Date: Tue, 29 Aug 2017 20:39:42 +0800 Subject: Fix some issue of comment and help for nat feature Change-Id: I9233e427b5f8874492fefb2bfe7c1ab329e366b2 Signed-off-by: Hongjun Ni --- src/plugins/nat/nat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/plugins/nat/nat.c') diff --git a/src/plugins/nat/nat.c b/src/plugins/nat/nat.c index ac39be95..f9ecb943 100644 --- a/src/plugins/nat/nat.c +++ b/src/plugins/nat/nat.c @@ -1246,7 +1246,7 @@ done: VLIB_CLI_COMMAND (add_address_command, static) = { .path = "nat44 add address", - .short_help = "nat44 add addresses [- ] " + .short_help = "nat44 add address [- ] " "[tenant-vrf ] [del]", .function = add_address_command_fn, }; @@ -1503,7 +1503,7 @@ done: * to to the local network host. * To create static mapping between local host address 10.0.0.3 port 6303 and * external address 4.4.4.4 port 3606 for TCP protocol use: - * vpp# nat44 add static mapping local tcp 10.0.0.3 6303 external 4.4.4.4 3606 + * vpp# nat44 add static mapping tcp local 10.0.0.3 6303 external 4.4.4.4 3606 * If not runnig "static mapping only" NAT plugin mode use before: * vpp# nat44 add address 4.4.4.4 * To create static mapping between local and external address use: @@ -1514,7 +1514,7 @@ VLIB_CLI_COMMAND (add_static_mapping_command, static) = { .path = "nat44 add static mapping", .function = add_static_mapping_command_fn, .short_help = - "nat44 add static mapping local tcp|udp|icmp [] external [] [vrf ] [del]", + "nat44 add static mapping tcp|udp|icmp local [] external [] [vrf ] [del]", }; static clib_error_t * -- cgit 1.2.3-korg