aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatus Fabian <matfabia@cisco.com>2017-08-24 02:38:51 -0700
committerFlorin Coras <florin.coras@gmail.com>2017-08-24 15:21:53 +0000
commitc60cbde78a3a20638534cb0b9ad4452f67528d91 (patch)
tree958eaa429022f9b92aebc46fc658468ca536c470
parent5c04ad09603f40f071e4b4ad79add8d2619977bf (diff)
NAT64: Fix error message typo (VPP-961)
Change-Id: Ieb81c5e157e342cbb532bd65f3b64059e5838691 Signed-off-by: Matus Fabian <matfabia@cisco.com>
-rw-r--r--src/plugins/nat/nat64_cli.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/plugins/nat/nat64_cli.c b/src/plugins/nat/nat64_cli.c
index e55c4d5a9dc..8890038700a 100644
--- a/src/plugins/nat/nat64_cli.c
+++ b/src/plugins/nat/nat64_cli.c
@@ -511,7 +511,8 @@ nat64_set_timeouts_command_fn (vlib_main_t * vm, unformat_input_t * input,
if (nat64_set_tcp_timeouts (tcp_trans, tcp_est, tcp_incoming_syn))
{
error =
- clib_error_return (0, "Invalid TCP transitory tiemout value");
+ clib_error_return (0,
+ "Invalid TCP transitory timeouts value");
goto done;
}
}
@@ -521,7 +522,7 @@ nat64_set_timeouts_command_fn (vlib_main_t * vm, unformat_input_t * input,
{
error =
clib_error_return (0,
- "Invalid TCP established tiemout value");
+ "Invalid TCP established timeouts value");
goto done;
}
}
@@ -532,7 +533,7 @@ nat64_set_timeouts_command_fn (vlib_main_t * vm, unformat_input_t * input,
{
error =
clib_error_return (0,
- "Invalid TCP incoming SYN tiemout value");
+ "Invalid TCP incoming SYN timeouts value");
goto done;
}
}
@@ -893,7 +894,7 @@ VLIB_CLI_COMMAND (set_nat64_timeouts_command, static) = {
/*?
* @cliexpar
- * @cliexstart{show nat64 tiemouts}
+ * @cliexstart{show nat64 timeoutss}
* Show NAT64 session timeouts:
* vpp# show nat64 timeouts
* NAT64 session timeouts:
@@ -906,7 +907,7 @@ VLIB_CLI_COMMAND (set_nat64_timeouts_command, static) = {
?*/
VLIB_CLI_COMMAND (show_nat64_timeouts_command, static) = {
.path = "show nat64 timeouts",
- .short_help = "show nat64 temeouts",
+ .short_help = "show nat64 timeouts",
.function = nat64_show_timeouts_command_fn,
};