summaryrefslogtreecommitdiffstats
path: root/src/vlib/node_cli.c
diff options
context:
space:
mode:
authorPaul Vinciguerra <pvinci@vinciconsulting.com>2018-09-22 05:32:50 -0700
committerDamjan Marion <dmarion@me.com>2018-09-24 08:08:03 +0000
commitbdc0e6b7204ea0211d4f7881497e4306586fb9ef (patch)
tree199b4da1aea679f0626451692a57476a70286524 /src/vlib/node_cli.c
parent6a4375e02d8dd4ebcc2f79ee9f6abbafdd2f674c (diff)
Trivial: Clean up some typos.
Change-Id: I085615fde1f966490f30ed5d32017b8b088cfd59 Signed-off-by: Paul Vinciguerra <pvinci@vinciconsulting.com>
Diffstat (limited to 'src/vlib/node_cli.c')
-rw-r--r--src/vlib/node_cli.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/vlib/node_cli.c b/src/vlib/node_cli.c
index 95f0fabdad1..3dbf672d441 100644
--- a/src/vlib/node_cli.c
+++ b/src/vlib/node_cli.c
@@ -526,7 +526,7 @@ show_node (vlib_main_t * vm, unformat_input_t * input,
}
}
else
- s = format (s, "\n defult only");
+ s = format (s, "\n default only");
vlib_cli_output (vm, " node function variants:%v\n", s);
vec_reset_length (s);
@@ -604,7 +604,7 @@ set_node_fn(vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd
if (!unformat (line_input, "%s", &variant))
{
- err = clib_error_return (0, "please specify node function variant");
+ err = clib_error_return (0, "please specify node functional variant");
goto done;
}
@@ -612,7 +612,7 @@ set_node_fn(vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd
if (n->node_fn_registrations == 0)
{
- err = clib_error_return (0, "node doesn't have fnuctiona varinats");
+ err = clib_error_return (0, "node doesn't have functional variants");
goto done;
}
@@ -638,7 +638,7 @@ set_node_fn(vlib_main_t * vm, unformat_input_t * input, vlib_cli_command_t * cmd
fnr = fnr->next_registration;
}
- err = clib_error_return (0, "node fnuction variant '%s' not found", variant);
+ err = clib_error_return (0, "node functional variant '%s' not found", variant);
done:
vec_free (variant);