From 701625b84f7a3ffc62520e0ba88bb9bbff4b280e Mon Sep 17 00:00:00 2001 From: "Andrey \"Zed\" Zaikin" Date: Wed, 18 Apr 2018 17:07:07 +0300 Subject: typo fix: UNKOWN -> UNKNOWN Change-Id: I008a4d7ad7160d1f07e7ceef712a5318a9368308 Signed-off-by: Andrey "Zed" Zaikin --- src/vnet/l2/l2_bd.c | 2 +- src/vnet/mpls/mpls.c | 2 +- src/vnet/sctp/sctp_error.def | 4 ++-- src/vnet/sctp/sctp_input.c | 10 +++++----- src/vnet/sctp/sctp_output.c | 6 +++--- 5 files changed, 12 insertions(+), 12 deletions(-) (limited to 'src/vnet') 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 [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; -- cgit 1.2.3-korg