]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
tc: fix spelling errors
authorStephen Hemminger <stephen@networkplumber.org>
Tue, 13 Aug 2019 01:18:51 +0000 (18:18 -0700)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 13 Aug 2019 01:18:51 +0000 (18:18 -0700)
Minor spelling errors found by codespell

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
tc/em_ipt.c
tc/q_netem.c
tc/tc_cbq.c
tc/tc_filter.c
tc/tc_red.c

index aa2edd63c5509aa2689378c2e77d123ec8edd4ed..b15c3ba56df431a393d4d358c0b66375f41c4306 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * em_ipt.c            IPtables extenstions matching Ematch
+ * em_ipt.c            IPtables extensions matching Ematch
  *
  * (C) 2018 Eyal Birger <eyal.birger@gmail.com>
  *
index 6d748f68031e79782d38febb36708a16703d8dd5..d01450fc59dcdea09e5a6558a0ed8cc7792ebb30 100644 (file)
@@ -39,7 +39,7 @@ static void explain(void)
                "                       [ loss state P13 [P31 [P32 [P23 P14]]]\n" \
                "                       [ loss gemodel PERCENT [R [1-H [1-K]]]\n" \
                "                       [ ecn ]\n" \
-               "                       [ reorder PRECENT [CORRELATION] [ gap DISTANCE ]]\n" \
+               "                       [ reorder PERCENT [CORRELATION] [ gap DISTANCE ]]\n" \
                "                       [ rate RATE [PACKETOVERHEAD] [CELLSIZE] [CELLOVERHEAD]]\n" \
                "                       [ slot MIN_DELAY [MAX_DELAY] [packets MAX_PACKETS]" \
                " [bytes MAX_BYTES]]\n" \
index c811456b1627526939a215ca59c16b8ad0627e2f..f56011ad1d07514674b8b322db1f1411e41aff08 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * tc_cbq.c            CBQ maintanance routines.
+ * tc_cbq.c            CBQ maintenance routines.
  *
  *             This program is free software; you can redistribute it and/or
  *             modify it under the terms of the GNU General Public License
index 23e21d89d7d14b10a8d2f681dab9566a4852f62d..f7d2e4a66a35b138dd4bbd7d01b019a84b1e9b20 100644 (file)
@@ -414,7 +414,7 @@ static int tc_filter_get(int cmd, unsigned int flags, int argc, char **argv)
                        if (d[0])
                                duparg("dev", *argv);
                        if (block_index) {
-                               fprintf(stderr, "Error: \"dev\" and \"block\" are mutually exlusive\n");
+                               fprintf(stderr, "Error: \"dev\" and \"block\" are mutually exclusive\n");
                                return -1;
                        }
                        strncpy(d, *argv, sizeof(d)-1);
@@ -423,7 +423,7 @@ static int tc_filter_get(int cmd, unsigned int flags, int argc, char **argv)
                        if (block_index)
                                duparg("block", *argv);
                        if (d[0]) {
-                               fprintf(stderr, "Error: \"dev\" and \"block\" are mutually exlusive\n");
+                               fprintf(stderr, "Error: \"dev\" and \"block\" are mutually exclusive\n");
                                return -1;
                        }
                        if (get_u32(&block_index, *argv, 0) || !block_index)
index 3ce3ca4287d3f6441740af34e9fb55d1d64c2baf..681ca2971d36bf10e4f5a06838eed39c5db5802d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * tc_red.c            RED maintanance routines.
+ * tc_red.c            RED maintenance routines.
  *
  *             This program is free software; you can redistribute it and/or
  *             modify it under the terms of the GNU General Public License