tc: fix spelling errors
Minor spelling errors found by codespell Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
This commit is contained in:
parent
42a66ee5f3
commit
69df9bf981
|
|
@ -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>
|
||||
*
|
||||
|
|
|
|||
|
|
@ -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" \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue