diff options
author | Nathan Skrzypczak <nathan.skrzypczak@gmail.com> | 2021-09-29 15:34:29 +0200 |
---|---|---|
committer | Ole Tr�an <otroan@employees.org> | 2021-09-30 08:40:37 +0000 |
commit | 33b3092d7025f332021c1188826271e87eee2d82 (patch) | |
tree | 6b65c1d2cb9a06e4df2f5e03cbc44c6d3be78b73 /src/plugins | |
parent | d6f22aa98638ad78d2de7c56c014c6190b96617a (diff) |
nat: doc nitfixes
Type: improvement
Change-Id: I9a4303030b9657c28bbd73168def72c7daa13483
Signed-off-by: Nathan Skrzypczak <nathan.skrzypczak@gmail.com>
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/nat/det44/det44_cli.c | 2 | ||||
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed.h | 2 | ||||
-rw-r--r-- | src/plugins/nat/nat44-ed/nat44_ed_cli.c | 6 | ||||
-rw-r--r-- | src/plugins/nat/nat44-ei/nat44_ei.h | 2 | ||||
-rw-r--r-- | src/plugins/nat/nat44-ei/nat44_ei_cli.c | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/src/plugins/nat/det44/det44_cli.c b/src/plugins/nat/det44/det44_cli.c index 5bd81d306f4..5d0ad04363e 100644 --- a/src/plugins/nat/det44/det44_cli.c +++ b/src/plugins/nat/det44/det44_cli.c @@ -512,7 +512,7 @@ VLIB_CLI_COMMAND (det44_map_command, static) = { /*? * @cliexpar - * @cliexpstart{show det44 mappings} + * @cliexstart{show det44 mappings} * Show DET44 mappings * vpp# show det44 mappings * DET44 mappings: diff --git a/src/plugins/nat/nat44-ed/nat44_ed.h b/src/plugins/nat/nat44-ed/nat44_ed.h index 8fd5007d3bf..f8cd9a06bea 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed.h +++ b/src/plugins/nat/nat44-ed/nat44_ed.h @@ -412,7 +412,7 @@ typedef enum typedef struct { - /* prefered pool address */ + /* preferred pool address */ ip4_address_t pool_addr; /* local IP address */ ip4_address_t local_addr; diff --git a/src/plugins/nat/nat44-ed/nat44_ed_cli.c b/src/plugins/nat/nat44-ed/nat44_ed_cli.c index 1eedb27dc46..413c7959962 100644 --- a/src/plugins/nat/nat44-ed/nat44_ed_cli.c +++ b/src/plugins/nat/nat44-ed/nat44_ed_cli.c @@ -162,8 +162,8 @@ done: } static clib_error_t * -nat_show_workers_commnad_fn (vlib_main_t * vm, unformat_input_t * input, - vlib_cli_command_t * cmd) +nat_show_workers_command_fn (vlib_main_t *vm, unformat_input_t *input, + vlib_cli_command_t *cmd) { snat_main_t *sm = &snat_main; u32 *worker; @@ -1780,7 +1780,7 @@ VLIB_CLI_COMMAND (set_workers_command, static) = { VLIB_CLI_COMMAND (nat_show_workers_command, static) = { .path = "show nat workers", .short_help = "show nat workers", - .function = nat_show_workers_commnad_fn, + .function = nat_show_workers_command_fn, }; /*? diff --git a/src/plugins/nat/nat44-ei/nat44_ei.h b/src/plugins/nat/nat44-ei/nat44_ei.h index 055f81c069b..2e5d85f071a 100644 --- a/src/plugins/nat/nat44-ei/nat44_ei.h +++ b/src/plugins/nat/nat44-ei/nat44_ei.h @@ -161,7 +161,7 @@ typedef struct typedef struct { - /* prefered pool address */ + /* preferred pool address */ ip4_address_t pool_addr; /* local IP address */ ip4_address_t local_addr; diff --git a/src/plugins/nat/nat44-ei/nat44_ei_cli.c b/src/plugins/nat/nat44-ei/nat44_ei_cli.c index 9ee117e97c1..0780e5d68b6 100644 --- a/src/plugins/nat/nat44-ei/nat44_ei_cli.c +++ b/src/plugins/nat/nat44-ei/nat44_ei_cli.c @@ -312,7 +312,7 @@ done: } static clib_error_t * -nat_show_workers_commnad_fn (vlib_main_t *vm, unformat_input_t *input, +nat_show_workers_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) { nat44_ei_main_t *nm = &nat44_ei_main; @@ -1557,7 +1557,7 @@ VLIB_CLI_COMMAND (set_workers_command, static) = { VLIB_CLI_COMMAND (nat_show_workers_command, static) = { .path = "show nat44 ei workers", .short_help = "show nat44 ei workers", - .function = nat_show_workers_commnad_fn, + .function = nat_show_workers_command_fn, }; /*? |