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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+1-1
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

+6-6
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

+3-3
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

+2-2
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

+13-13
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;

print-atm.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
#define B_BEARER 0x5e /* broadband bearer capability */
107107
#define B_LOWER 0x5f /* broadband lower information */
108108
#define CALLING_PARTY 0x6c /* calling party number */
109-
#define CALLED_PARTY 0x70 /* called party nmber */
109+
#define CALLED_PARTY 0x70 /* called party number */
110110

111111
#define Q2931 0x09
112112

print-bgp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1705,7 +1705,7 @@ check_add_path(netdissect_options *ndo, const u_char *pptr, u_int length,
17051705
}
17061706

17071707
/*
1708-
* Scan through the NLRI information under the assumpetion that
1708+
* Scan through the NLRI information under the assumption that
17091709
* it doesn't have path IDs.
17101710
*/
17111711
for (offset = 0; offset < length;) {

print-ether.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ ether_common_print(netdissect_options *ndo, const u_char *p, u_int length,
412412
}
413413

414414
/*
415-
* Print an Ethernet frame while specyfing a non-standard Ethernet header
415+
* Print an Ethernet frame while specifying a non-standard Ethernet header
416416
* length.
417417
* This might be encapsulated within another frame; we might be passed
418418
* a pointer to a function that can print header information for that

print-icmp6.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,7 @@ struct nd_rpl_security {
526526
#endif
527527
};
528528

529-
/* section 6.2.1, DODAG Information Solication (DIS_IS) */
529+
/* section 6.2.1, DODAG Information Solicitation (DIS_IS) */
530530
struct nd_rpl_dis_is {
531531
nd_uint8_t rpl_dis_flags;
532532
nd_uint8_t rpl_dis_reserved;

print-isakmp.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2513,7 +2513,7 @@ ikev2_n_print(netdissect_options *ndo, u_char tpay _U_,
25132513
break;
25142514

25152515
case IV2_NOTIFY_TS_UNACCEPTABLE:
2516-
notify_name = "ts_unnacceptable";
2516+
notify_name = "ts_unacceptable";
25172517
break;
25182518

25192519
case IV2_NOTIFY_INVALID_SELECTORS:

print-isoclns.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ static const struct tok esis_option_values[] = {
208208
{ ESIS_OPTION_SECURITY, "Security" },
209209
{ ESIS_OPTION_ES_CONF_TIME, "ES Configuration Time" },
210210
{ ESIS_OPTION_PRIORITY, "Priority" },
211-
{ ESIS_OPTION_ADDRESS_MASK, "Addressk Mask" },
211+
{ ESIS_OPTION_ADDRESS_MASK, "Address Mask" },
212212
{ ESIS_OPTION_SNPA_MASK, "SNPA Mask" },
213213
{ 0, NULL }
214214
};
@@ -613,7 +613,7 @@ static const struct tok isis_lsp_istype_values[] = {
613613
#define ISIS_PTP_ADJ_INIT 1
614614
#define ISIS_PTP_ADJ_DOWN 2
615615

616-
static const struct tok isis_ptp_adjancey_values[] = {
616+
static const struct tok isis_ptp_adjacency_values[] = {
617617
{ ISIS_PTP_ADJ_UP, "Up" },
618618
{ ISIS_PTP_ADJ_INIT, "Initializing" },
619619
{ ISIS_PTP_ADJ_DOWN, "Down" },
@@ -3149,7 +3149,7 @@ isis_print(netdissect_options *ndo,
31493149
tlv_ptp_adj = (const struct isis_tlv_ptp_adj *)tptr;
31503150
if(tlen>=1) {
31513151
ND_PRINT("\n\t Adjacency State: %s (%u)",
3152-
tok2str(isis_ptp_adjancey_values, "unknown", GET_U_1(tptr)),
3152+
tok2str(isis_ptp_adjacency_values, "unknown", GET_U_1(tptr)),
31533153
GET_U_1(tptr));
31543154
tlen--;
31553155
}

print-lisp.c

+6-6
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,12 @@ enum {
129129
};
130130

131131
static const struct tok lisp_type [] = {
132-
{ 0, "LISP-Reserved" },
133-
{ 1, "LISP-Map-Request" },
134-
{ 2, "LISP-Map-Reply" },
135-
{ 3, "LISP-Map-Register" },
136-
{ 4, "LISP-Map-Notify" },
137-
{ 8, "LISP-Encapsulated-Contol-Message" },
132+
{ 0, "LISP-Reserved" },
133+
{ 1, "LISP-Map-Request" },
134+
{ 2, "LISP-Map-Reply" },
135+
{ 3, "LISP-Map-Register" },
136+
{ 4, "LISP-Map-Notify" },
137+
{ 8, "LISP-Encapsulated-Control-Message" },
138138
{ 0, NULL }
139139
};
140140

print-ppp.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ static const char *lcpconfopts[] = {
194194
"deprecated(12)", /* used to be a Multi-Link-Procedure*/
195195
"Call-Back", /* (13) */
196196
"deprecated(14)", /* used to be a Connect-Time */
197-
"deprecated(15)", /* used to be a Compund-Frames */
197+
"deprecated(15)", /* used to be a Compound-Frames */
198198
"deprecated(16)", /* used to be a Nominal-Data-Encap */
199199
"MRRU", /* (17) */
200200
"12-Bit seq #", /* (18) */
@@ -859,7 +859,7 @@ handle_chap(netdissect_options *ndo,
859859
* don't know which flavor of CHAP (i.e. CHAP-MD5, MS-CHAPv1,
860860
* MS-CHAPv2) is used at this point, we can't decode packet
861861
* specifically to each algorithms. Instead, we simply decode
862-
* the GCD (Gratest Common Denominator) for all algorithms.
862+
* the GCD (Greatest Common Denominator) for all algorithms.
863863
*/
864864
switch (code) {
865865
case CHAP_CHAL:

0 commit comments

Comments
 (0)