diff options
author | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-12-12 16:10:25 +0100 |
---|---|---|
committer | Francois-Xavier Le Bail <devel.fx.lebail@orange.fr> | 2020-12-12 16:10:46 +0100 |
commit | d90dda7ef6151c4174c807c3ad8ac3b2538127e1 (patch) | |
tree | 74644b1294e0e44ee3ad46ae74e95dda550ef7bf | |
parent | 15bb6516681b258a90c02cb934c79c3a444688b6 (diff) | |
download | tcpdump-d90dda7ef6151c4174c807c3ad8ac3b2538127e1.tar.gz |
Fix some typos
[skip ci]
-rw-r--r-- | CHANGES | 4 | ||||
-rw-r--r-- | print-802_15_4.c | 8 | ||||
-rw-r--r-- | print-atm.c | 2 | ||||
-rw-r--r-- | print-bgp.c | 2 | ||||
-rw-r--r-- | print-icmp.c | 4 | ||||
-rw-r--r-- | print-lwres.c | 2 | ||||
-rw-r--r-- | print-pim.c | 2 | ||||
-rw-r--r-- | print-stp.c | 2 | ||||
-rw-r--r-- | rpc_msg.h | 2 |
9 files changed, 14 insertions, 14 deletions
@@ -500,7 +500,7 @@ Tue. July 20, 2010. guy@alum.mit.edu. Summary for 4.1.2 tcpdump release If -U is specified, flush the file after creating it, so it's not zero-length - Fix TCP flags output description, and some typoes, in the man + Fix TCP flags output description, and some typos, in the man page Add a -h flag, and only attempt to recognize 802.11s mesh headers if it's set @@ -1171,7 +1171,7 @@ v3.1 Thu Jun 13 20:59:32 PDT 1996 - Print out a little more information for sun rpc packets. -- Add suport for Kerberos 4 thanks to John Hawkinson (jhawk@mit.edu). +- Add support for Kerberos 4 thanks to John Hawkinson (jhawk@mit.edu). - Fixed the Fix EXTRACT_SHORT() and EXTRACT_LONG() macros (which were wrong on little endian machines). diff --git a/print-802_15_4.c b/print-802_15_4.c index 521c1cef..2c562adb 100644 --- a/print-802_15_4.c +++ b/print-802_15_4.c @@ -719,7 +719,7 @@ ieee802_15_4_print_header_ie(netdissect_options *ndo, break; case 0x1c: /* DSME PAN Descriptor IE */ /*FALLTHROUGH*/ - case 0x21: /* Extended DSME PAN descriptior IE */ + case 0x21: /* Extended DSME PAN descriptor IE */ if (ie_len < 2) { ND_PRINT("[ERROR: Truncated DSME PAN IE]"); } else { @@ -1785,7 +1785,7 @@ ieee802_15_4_print_command_data(netdissect_options *ndo, } /* - * Parse and print frames folloing standard format. + * Parse and print frames following standard format. * * Returns FALSE in case of error. */ @@ -1846,7 +1846,7 @@ ieee802_15_4_std_frames(netdissect_options *ndo, if (CHECK_BIT(fc, 9)) { ND_PRINT("IE present, "); } } - /* Check for the sequence number supression. */ + /* Check for the sequence number suppression. */ if (CHECK_BIT(fc, 8)) { /* Sequence number is suppressed. */ if (frame_version < 2) { @@ -2259,7 +2259,7 @@ ieee802_15_4_mp_frame(netdissect_options *ndo, if (ie_present) { ND_PRINT("IE present, "); } } - /* Check for the sequence number supression. */ + /* Check for the sequence number suppression. */ if (CHECK_BIT(fc, 10)) { /* Sequence number is suppressed, but long version. */ p += 2; diff --git a/print-atm.c b/print-atm.c index ce5b6afe..904fc479 100644 --- a/print-atm.c +++ b/print-atm.c @@ -115,7 +115,7 @@ #define CALL_REF_POS 2 /* offset of call reference value */ #define MSG_TYPE_POS 5 /* offset of message type */ #if 0 -#define MSG_LEN_POS 7 /* offset of mesage length */ +#define MSG_LEN_POS 7 /* offset of message length */ #define IE_BEGIN_POS 9 /* offset of first information element */ /* format of signalling messages */ diff --git a/print-bgp.c b/print-bgp.c index ab3e2835..5de10032 100644 --- a/print-bgp.c +++ b/print-bgp.c @@ -671,7 +671,7 @@ badtlv: /* * bgp_vpn_ip_print * - * print an ipv4 or ipv6 address into a buffer dependend on address length. + * print an ipv4 or ipv6 address into a buffer dependent on address length. */ static char * bgp_vpn_ip_print(netdissect_options *ndo, diff --git a/print-icmp.c b/print-icmp.c index dd767eba..eebb6e3f 100644 --- a/print-icmp.c +++ b/print-icmp.c @@ -92,7 +92,7 @@ struct icmp { /* * Lower bounds on packet lengths for various types. * For the error advice packets must first insure that the - * packet is large enought to contain the returned ip header. + * packet is large enough to contain the returned ip header. * Only then can we do the check to see if 64 bits of packet * data have been returned, since we need to check the returned * ip header length. @@ -648,7 +648,7 @@ icmp_print(netdissect_options *ndo, const u_char *bp, u_int plen, const u_char * /* * print the remnants of the IP packet. - * save the snaplength as this may get overidden in the IP printer. + * save the snaplength as this may get overridden in the IP printer. */ if (ndo->ndo_vflag >= 1 && ICMP_ERRTYPE(icmp_type)) { bp += 8; diff --git a/print-lwres.c b/print-lwres.c index f677b971..c237e482 100644 --- a/print-lwres.c +++ b/print-lwres.c @@ -94,7 +94,7 @@ typedef struct lwres_addr lwres_addr_t; struct lwres_addr { nd_uint32_t family; nd_uint16_t length; - /* address folows */ + /* address follows */ }; #define LWRES_ADDR_LEN 6 diff --git a/print-pim.c b/print-pim.c index dc9ca401..f2db8c76 100644 --- a/print-pim.c +++ b/print-pim.c @@ -137,7 +137,7 @@ static const struct tok pimv2_df_election_flag_values[] = { /* * XXX: We consider a case where IPv6 is not ready yet for portability, - * but PIM dependent defintions should be independent of IPv6... + * but PIM dependent definitions should be independent of IPv6... */ struct pim { diff --git a/print-stp.c b/print-stp.c index ad4cdc20..5030b219 100644 --- a/print-stp.c +++ b/print-stp.c @@ -203,7 +203,7 @@ stp_print_config_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu, #define MST_BPDU_MSTI_LENGTH 16 #define MST_BPDU_CONFIG_INFO_LENGTH 64 -/* Offsets of fields from the begginning for the packet */ +/* Offsets of fields from the beginning for the packet */ #define MST_BPDU_VER3_LEN_OFFSET 36 #define MST_BPDU_CONFIG_NAME_OFFSET 39 #define MST_BPDU_CONFIG_DIGEST_OFFSET 73 @@ -42,7 +42,7 @@ /* * Bottom up definition of an rpc message. - * NOTE: call and reply use the same overall stuct but + * NOTE: call and reply use the same overall struct but * different parts of unions within it. */ |