Skip to content

Commit 38050da

Browse files
jsoreffxlb
authored andcommitted
Fix spelling
* account * address * adjacency * alignment * anymore * ascii * assumption * blithely * canonical * compound * consecutive * control * diagnostics * disassociation * fairly * fallthrough * greatest * identification * multihop * multiplexed * nonexistent * notifiable * notwithstanding * number * polynomial * preexisting * proprietary * quenches * reassociation * redefinition * refresh * solicitation * specifying * support * the * unacceptable Signed-off-by: Josh Soref <[email protected]>
1 parent 2bb5ede commit 38050da

25 files changed

+84
-84
lines changed

CHANGES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ Wed. April 25, 2007. [email protected]. Summary for 3.9.6 tcpdump release
982982
RFC 4340.
983983
Add support for per-VLAN spanning tree and per-VLAN rapid spanning tree
984984
Add support for Multiple-STP as per 802.1s
985-
Add support for the cisco propriatry 'dynamic trunking protocol'
985+
Add support for the cisco proprietary 'dynamic trunking protocol'
986986
Add support for the cisco proprietary VTP protocol
987987
Update dhcp6 options table as per IETF standardization activities
988988

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/.devel OR EXISTS ${CMAKE_BINARY_DIR}/.devel)
994994
# __declspec(align), because the only structures whose layout
995995
# we precisely specify are those that get overlaid on packet
996996
# data, and in those every element is an array of octets so
997-
# that we have full control over the size and aligmnet, and,
997+
# that we have full control over the size and alignment, and,
998998
# apparently, jmp_buf has such a declaration on x86, meaning
999999
# that everything that includes netdissect.h, i.e. almost every
10001000
# file in tcpdump, gets a warning.

addrtoname.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ static const struct ipxsap_ent {
11291129
{ 0x030a, "GalacticommWorldgroupServer" },
11301130
{ 0x030c, "IntelNetport2/HP JetDirect/HP Quicksilver" },
11311131
{ 0x0320, "AttachmateGateway" },
1132-
{ 0x0327, "MicrosoftDiagnostiocs" },
1132+
{ 0x0327, "MicrosoftDiagnostics" },
11331133
{ 0x0328, "WATCOM SQL Server" },
11341134
{ 0x0335, "MultiTechSystems MultisynchCommServer" },
11351135
{ 0x0343, "Xylogics RemoteAccessServer/LANModem" },

extract.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ EXTRACT_IPV4_TO_HOST_ORDER(const void *p)
261261
* quantities the hard way - fetch the bytes one at a time and
262262
* assemble them.
263263
*
264-
* XXX - ARM is a special case. ARMv1 through ARMv5 didn't suppory
264+
* XXX - ARM is a special case. ARMv1 through ARMv5 didn't support
265265
* unaligned loads; ARMv6 and later support it *but* have a bit in
266266
* the system control register that the OS can set and that causes
267267
* unaligned loads to fault rather than succeeding.

ftmacros.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@
6464
/*
6565
* We need this to get the versions of socket functions that
6666
* use socklen_t. Define it only if it's not already defined,
67-
* so we don't get redefiniton warnings.
67+
* so we don't get redefinition warnings.
6868
*/
6969
#ifndef _XOPEN_SOURCE_EXTENDED
7070
#define _XOPEN_SOURCE_EXTENDED

makemib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
#
3737
# This script needs to be run by "gawk" (GNU awk). "nawk" will work, but
3838
# dump will get a recursion error if you process LARGE mibs. While it would
39-
# by farily easy to rewrite this not to use recursion (and also easy to
39+
# by fairly easy to rewrite this not to use recursion (and also easy to
4040
# eliminate use of gsub and functions to use classic "awk"), you have to
4141
# order the structure declarations in defined-first order for the compiler
4242
# not to barf; too bad tsort doesn't take arguments.

mib.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -765,13 +765,13 @@ _icmpInParmProbs_obj = {
765765
"icmpInParmProbs", 5, 0,
766766
NULL, &_icmpInTimeExcds_obj
767767
},
768-
_icmpInSrcQuenchs_obj = {
769-
"icmpInSrcQuenchs", 6, 0,
768+
_icmpInSrcQuenches_obj = {
769+
"icmpInSrcQuenches", 6, 0,
770770
NULL, &_icmpInParmProbs_obj
771771
},
772772
_icmpInRedirects_obj = {
773773
"icmpInRedirects", 7, 0,
774-
NULL, &_icmpInSrcQuenchs_obj
774+
NULL, &_icmpInSrcQuenches_obj
775775
},
776776
_icmpInEchos_obj = {
777777
"icmpInEchos", 8, 0,
@@ -817,13 +817,13 @@ _icmpOutParmProbs_obj = {
817817
"icmpOutParmProbs", 18, 0,
818818
NULL, &_icmpOutTimeExcds_obj
819819
},
820-
_icmpOutSrcQuenchs_obj = {
821-
"icmpOutSrcQuenchs", 19, 0,
820+
_icmpOutSrcQuenches_obj = {
821+
"icmpOutSrcQuenches", 19, 0,
822822
NULL, &_icmpOutParmProbs_obj
823823
},
824824
_icmpOutRedirects_obj = {
825825
"icmpOutRedirects", 20, 0,
826-
NULL, &_icmpOutSrcQuenchs_obj
826+
NULL, &_icmpOutSrcQuenches_obj
827827
},
828828
_icmpOutEchos_obj = {
829829
"icmpOutEchos", 21, 0,

nameser.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
#define UPDATEMA 0xd /* modify all named resource record */
8888

8989
#define ZONEINIT 0xe /* initial zone transfer */
90-
#define ZONEREF 0xf /* incremental zone referesh */
90+
#define ZONEREF 0xf /* incremental zone refresh */
9191

9292
/*
9393
* Undefine various #defines from various System V-flavored OSes (Solaris,
@@ -112,7 +112,7 @@
112112
#define NOERROR 0 /* no error */
113113
#define FORMERR 1 /* format error */
114114
#define SERVFAIL 2 /* server failure */
115-
#define NXDOMAIN 3 /* non existent domain */
115+
#define NXDOMAIN 3 /* nonexistent domain */
116116
#define NOTIMP 4 /* not implemented */
117117
#define REFUSED 5 /* query refused */
118118
/* non standard */
@@ -125,7 +125,7 @@
125125
#define T_NS 2 /* authoritative server */
126126
#define T_MD 3 /* mail destination */
127127
#define T_MF 4 /* mail forwarder */
128-
#define T_CNAME 5 /* connonical name */
128+
#define T_CNAME 5 /* canonical name */
129129
#define T_SOA 6 /* start of authority zone */
130130
#define T_MB 7 /* mailbox domain name */
131131
#define T_MG 8 /* mail group member */

print-802_11.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
#define IEEE802_11_STATUS_LEN 2
6868
#define IEEE802_11_REASON_LEN 2
6969

70-
/* Length of previous AP in reassocation frame */
70+
/* Length of previous AP in reassociation frame */
7171
#define IEEE802_11_AP_LEN 6
7272

7373
#define T_MGMT 0x0 /* management */
@@ -1724,7 +1724,7 @@ static const struct tok category_str[] = {
17241724
{ 3, "BA" },
17251725
{ 7, "HT" },
17261726
{ 13, "MeshAction" },
1727-
{ 14, "MultiohopAction" },
1727+
{ 14, "MultihopAction" },
17281728
{ 15, "SelfprotectAction" },
17291729
{ 127, "Vendor" },
17301730
{ 0, NULL }

print-802_15_4.c

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ static const char *p_mlme_short_names[] = {
250250
"TVWS PHY Operating Mode Description IE", /* 0x2b */
251251
"TVWS Device Capabilities IE", /* 0x2c */
252252
"TVWS Device Category IE", /* 0x2d */
253-
"TVWS Device Identiication IE", /* 0x2e */
253+
"TVWS Device Identification IE", /* 0x2e */
254254
"TVWS Device Location IE", /* 0x2f */
255255
"TVWS Channel Information Query IE", /* 0x30 */
256256
"TVWS Channel Information Source IE", /* 0x31 */
@@ -418,7 +418,7 @@ static const char *mac_c_names[] = {
418418
#define FC_ADDRESSING_MODE_LONG 0x03
419419

420420
/*
421-
* IEEE 802.15.4 CRC 16 function. This is using CCITT polynomical of 0x1021,
421+
* IEEE 802.15.4 CRC 16 function. This is using the CCITT polynomial of 0x1021,
422422
* but the initial value is 0, and the bits are reversed for both in and out.
423423
* See section 7.2.10 of 802.15.4-2015 for more information.
424424
*/
@@ -470,7 +470,7 @@ ieee802_15_4_reverse32(uint32_t x)
470470
}
471471

472472
/*
473-
* IEEE 802.15.4 CRC 32 function. This is using ANSI X3.66-1979 polynomical of
473+
* IEEE 802.15.4 CRC 32 function. This is using the ANSI X3.66-1979 polynomial of
474474
* 0x04C11DB7, but the initial value is 0, and the bits are reversed for both
475475
* in and out. See section 7.2.10 of 802.15.4-2015 for more information.
476476
*/
@@ -1303,7 +1303,7 @@ ieee802_15_4_print_mlme_ie_list(netdissect_options *ndo,
13031303
}
13041304

13051305
/*
1306-
* Multiplexd IE (802.15.9) parsing and printing.
1306+
* Multiplexed IE (802.15.9) parsing and printing.
13071307
*
13081308
* Returns number of bytes consumed from packet or -1 in case of error.
13091309
*/
@@ -1664,7 +1664,7 @@ ieee802_15_4_print_command_data(netdissect_options *ndo,
16641664
return caplen;
16651665
}
16661666
break;
1667-
case 0x03: /* Diassociation Notification command */
1667+
case 0x03: /* Disassociation Notification command */
16681668
if (caplen != 1) {
16691669
ND_PRINT("Invalid Disassociation Notification command length");
16701670
return -1;
@@ -2038,19 +2038,19 @@ ieee802_15_4_std_frames(netdissect_options *ndo,
20382038
}
20392039

20402040
switch (security_level) {
2041-
case 0: /*FALLTHOUGH */
2041+
case 0: /*FALLTHROUGH */
20422042
case 4:
20432043
miclen = 0;
20442044
break;
2045-
case 1: /*FALLTHOUGH */
2045+
case 1: /*FALLTHROUGH */
20462046
case 5:
20472047
miclen = 4;
20482048
break;
2049-
case 2: /*FALLTHOUGH */
2049+
case 2: /*FALLTHROUGH */
20502050
case 6:
20512051
miclen = 8;
20522052
break;
2053-
case 3: /*FALLTHOUGH */
2053+
case 3: /*FALLTHROUGH */
20542054
case 7:
20552055
miclen = 16;
20562056
break;
@@ -2360,19 +2360,19 @@ ieee802_15_4_mp_frame(netdissect_options *ndo,
23602360
}
23612361

23622362
switch (security_level) {
2363-
case 0: /*FALLTHOUGH */
2363+
case 0: /*FALLTHROUGH */
23642364
case 4:
23652365
miclen = 0;
23662366
break;
2367-
case 1: /*FALLTHOUGH */
2367+
case 1: /*FALLTHROUGH */
23682368
case 5:
23692369
miclen = 4;
23702370
break;
2371-
case 2: /*FALLTHOUGH */
2371+
case 2: /*FALLTHROUGH */
23722372
case 6:
23732373
miclen = 8;
23742374
break;
2375-
case 3: /*FALLTHOUGH */
2375+
case 3: /*FALLTHROUGH */
23762376
case 7:
23772377
miclen = 16;
23782378
break;

0 commit comments

Comments
 (0)