aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey "Zed" Zaikin <zed.0xff@gmail.com>2018-04-18 17:07:07 +0300
committerDamjan Marion <dmarion.lists@gmail.com>2018-04-18 16:24:26 +0000
commit701625b84f7a3ffc62520e0ba88bb9bbff4b280e (patch)
tree74daa91ee739892c4f57976de05f560783cc74b0
parent889fe948df5d53c6210b4db402b8c07d3e45d680 (diff)
typo fix: UNKOWN -> UNKNOWN
Change-Id: I008a4d7ad7160d1f07e7ceef712a5318a9368308 Signed-off-by: Andrey "Zed" Zaikin <zed.0xff@gmail.com>
-rw-r--r--src/vlibmemory/vlib_api_cli.c2
-rw-r--r--src/vnet/l2/l2_bd.c2
-rw-r--r--src/vnet/mpls/mpls.c2
-rw-r--r--src/vnet/sctp/sctp_error.def4
-rw-r--r--src/vnet/sctp/sctp_input.c10
-rw-r--r--src/vnet/sctp/sctp_output.c6
-rw-r--r--src/vpp-api/vom/interface.hpp2
-rw-r--r--test/test_dvr.py2
8 files changed, 15 insertions, 15 deletions
diff --git a/src/vlibmemory/vlib_api_cli.c b/src/vlibmemory/vlib_api_cli.c
index d4d7c1c63dc..ccdf3fb8bdd 100644
--- a/src/vlibmemory/vlib_api_cli.c
+++ b/src/vlibmemory/vlib_api_cli.c
@@ -721,7 +721,7 @@ api_trace_command_fn (vlib_main_t * vm,
vlib_cli_output (vm,
"Error while writing start of buffer trace to file\n");
else if (rv < 0)
- vlib_cli_output (vm, "Unkown error while saving: %d", rv);
+ vlib_cli_output (vm, "Unknown error while saving: %d", rv);
else
vlib_cli_output (vm, "API trace saved to %s\n", chroot_filename);
vec_free (chroot_filename);
diff --git a/src/vnet/l2/l2_bd.c b/src/vnet/l2/l2_bd.c
index 7c8aef1df65..7c3e70ce189 100644
--- a/src/vnet/l2/l2_bd.c
+++ b/src/vnet/l2/l2_bd.c
@@ -521,7 +521,7 @@ VLIB_CLI_COMMAND (bd_flood_cli, static) = {
/* *INDENT-ON* */
/**
- Set bridge-domain unkown-unicast flood enable/disable.
+ Set bridge-domain unknown-unicast flood enable/disable.
The CLI format is:
set bridge-domain uu-flood <bd_index> [disable]
*/
diff --git a/src/vnet/mpls/mpls.c b/src/vnet/mpls/mpls.c
index be72d3f829f..aaaba39869e 100644
--- a/src/vnet/mpls/mpls.c
+++ b/src/vnet/mpls/mpls.c
@@ -274,7 +274,7 @@ vnet_mpls_local_label (vlib_main_t * vm,
;
else
{
- error = clib_error_return (0, "unkown input: %U",
+ error = clib_error_return (0, "unknown input: %U",
format_unformat_error, line_input);
goto done;
}
diff --git a/src/vnet/sctp/sctp_error.def b/src/vnet/sctp/sctp_error.def
index 1f6e2758bb1..7326301e862 100644
--- a/src/vnet/sctp/sctp_error.def
+++ b/src/vnet/sctp/sctp_error.def
@@ -44,8 +44,8 @@ sctp_error (SHUTDOWN_COMPLETE_VIOLATION, "SHUTDOWN_COMPLETE chunk received in in
sctp_error (FIFO_FULL, "Packets dropped for lack of rx fifo space")
sctp_error (PARTIALLY_ENQUEUED, "Packets partially pushed into rx fifo")
sctp_error (EVENT_FIFO_FULL, "Events not sent for lack of event fifo space")
-sctp_error (UNKOWN_CHUNK, "Unrecognized / unknown chunk or chunk-state mismatch")
+sctp_error (UNKNOWN_CHUNK, "Unrecognized / unknown chunk or chunk-state mismatch")
sctp_error (BUNDLING_VIOLATION, "Bundling not allowed")
sctp_error (PUNT, "Packets punted")
sctp_error (FILTERED, "Packets filtered")
-sctp_error (MAX_CONNECTIONS, "Reached max supported subconnection") \ No newline at end of file
+sctp_error (MAX_CONNECTIONS, "Reached max supported subconnection")
diff --git a/src/vnet/sctp/sctp_input.c b/src/vnet/sctp/sctp_input.c
index ff79840f9fb..bca34f1a25c 100644
--- a/src/vnet/sctp/sctp_input.c
+++ b/src/vnet/sctp/sctp_input.c
@@ -1060,7 +1060,7 @@ sctp46_rcv_phase_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
* hence we should never get to the "default" case below.
*/
default:
- error0 = SCTP_ERROR_UNKOWN_CHUNK;
+ error0 = SCTP_ERROR_UNKNOWN_CHUNK;
next0 = sctp_next_drop (is_ip4);
goto drop;
}
@@ -1400,7 +1400,7 @@ sctp46_shutdown_phase_inline (vlib_main_t * vm,
* hence we should never get to the "default" case below.
*/
default:
- error0 = SCTP_ERROR_UNKOWN_CHUNK;
+ error0 = SCTP_ERROR_UNKNOWN_CHUNK;
next0 = sctp_next_drop (is_ip4);
goto drop;
}
@@ -1709,7 +1709,7 @@ sctp46_listen_process_inline (vlib_main_t * vm,
child_conn->sub_conn[SCTP_PRIMARY_PATH_IDX].
connection.c_index, sctp_chunk_to_string (chunk_type));
- error0 = SCTP_ERROR_UNKOWN_CHUNK;
+ error0 = SCTP_ERROR_UNKNOWN_CHUNK;
next0 = sctp_next_drop (is_ip4);
goto drop;
}
@@ -1917,7 +1917,7 @@ sctp46_established_phase_inline (vlib_main_t * vm, vlib_node_runtime_t * node,
* hence we should never get to the "default" case below.
*/
default:
- error0 = SCTP_ERROR_UNKOWN_CHUNK;
+ error0 = SCTP_ERROR_UNKNOWN_CHUNK;
next0 = sctp_next_drop (is_ip4);
goto done;
}
@@ -2188,7 +2188,7 @@ sctp46_input_dispatcher (vlib_main_t * vm, vlib_node_runtime_t * node,
sctp_prepare_operation_error (sctp_conn, SCTP_PRIMARY_PATH_IDX,
b0, UNRECOGNIZED_CHUNK_TYPE);
- error0 = SCTP_ERROR_UNKOWN_CHUNK;
+ error0 = SCTP_ERROR_UNKNOWN_CHUNK;
next0 = sctp_next_output (is_ip4);
goto done;
}
diff --git a/src/vnet/sctp/sctp_output.c b/src/vnet/sctp/sctp_output.c
index e2738e90c09..a65f166a9c6 100644
--- a/src/vnet/sctp/sctp_output.c
+++ b/src/vnet/sctp/sctp_output.c
@@ -1702,7 +1702,7 @@ sctp46_output_inline (vlib_main_t * vm,
{
clib_warning
("Trying to send an unrecognized chunk... something is really bad.");
- error0 = SCTP_ERROR_UNKOWN_CHUNK;
+ error0 = SCTP_ERROR_UNKNOWN_CHUNK;
next0 = SCTP_OUTPUT_NEXT_DROP;
goto done;
}
@@ -1735,7 +1735,7 @@ sctp46_output_inline (vlib_main_t * vm,
connection.rmt_port,
sctp_hdr->dst_port);
- error0 = SCTP_ERROR_UNKOWN_CHUNK;
+ error0 = SCTP_ERROR_UNKNOWN_CHUNK;
next0 = SCTP_OUTPUT_NEXT_DROP;
goto done;
}
@@ -1758,7 +1758,7 @@ sctp46_output_inline (vlib_main_t * vm,
sctp_chunk_to_string (chunk_type),
sctp_state_to_string (sctp_conn->state));
- error0 = SCTP_ERROR_UNKOWN_CHUNK;
+ error0 = SCTP_ERROR_UNKNOWN_CHUNK;
next0 = SCTP_OUTPUT_NEXT_DROP;
goto done;
diff --git a/src/vpp-api/vom/interface.hpp b/src/vpp-api/vom/interface.hpp
index 29903b5623b..f6708b30176 100644
--- a/src/vpp-api/vom/interface.hpp
+++ b/src/vpp-api/vom/interface.hpp
@@ -67,7 +67,7 @@ public:
struct type_t : enum_base<type_t>
{
/**
- * Unkown type
+ * Unknown type
*/
const static type_t UNKNOWN;
/**
diff --git a/test/test_dvr.py b/test/test_dvr.py
index c0ce32c134c..5bdc3b2312e 100644
--- a/test/test_dvr.py
+++ b/test/test_dvr.py
@@ -321,7 +321,7 @@ class TestDVR(VppTestCase):
route_2.add_vpp_config()
#
- # packets are dropped because bridge does not flood unkown unicast
+ # packets are dropped because bridge does not flood unknown unicast
#
self.send_and_assert_no_replies(self.pg0, pkt_no_tag)