typo fix: UNKOWN -> UNKNOWN 86/11886/2
authorAndrey "Zed" Zaikin <zed.0xff@gmail.com>
Wed, 18 Apr 2018 14:07:07 +0000 (17:07 +0300)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 18 Apr 2018 16:24:26 +0000 (16:24 +0000)
Change-Id: I008a4d7ad7160d1f07e7ceef712a5318a9368308
Signed-off-by: Andrey "Zed" Zaikin <zed.0xff@gmail.com>
src/vlibmemory/vlib_api_cli.c
src/vnet/l2/l2_bd.c
src/vnet/mpls/mpls.c
src/vnet/sctp/sctp_error.def
src/vnet/sctp/sctp_input.c
src/vnet/sctp/sctp_output.c
src/vpp-api/vom/interface.hpp
test/test_dvr.py

index d4d7c1c..ccdf3fb 100644 (file)
@@ -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);
index 7c8aef1..7c3e70c 100644 (file)
@@ -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]
 */
index be72d3f..aaaba39 100644 (file)
@@ -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;
       }
index 1f6e275..7326301 100644 (file)
@@ -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")
index ff79840..bca34f1 100644 (file)
@@ -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;
            }
index e2738e9..a65f166 100644 (file)
@@ -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;
 
index 29903b5..f6708b3 100644 (file)
@@ -67,7 +67,7 @@ public:
   struct type_t : enum_base<type_t>
   {
     /**
-     * Unkown type
+     * Unknown type
      */
     const static type_t UNKNOWN;
     /**
index c0ce32c..5bdc3b2 100644 (file)
@@ -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)