]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix some typos
authorFrancois-Xavier Le Bail <[email protected]>
Sat, 12 Dec 2020 15:10:25 +0000 (16:10 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Sat, 12 Dec 2020 15:10:46 +0000 (16:10 +0100)
[skip ci]

CHANGES
print-802_15_4.c
print-atm.c
print-bgp.c
print-icmp.c
print-lwres.c
print-pim.c
print-stp.c
rpc_msg.h

diff --git a/CHANGES b/CHANGES
index 7bfbd5f8b9e0933558351e7789442099cd784b3e..8cfa8310d28c1b9cc32967d224c9a0b7fc529d6c 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -500,7 +500,7 @@ Tue.    July 20, 2010.  [email protected].
   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 ([email protected]).
+- Add support for Kerberos 4 thanks to John Hawkinson ([email protected]).
 
 - Fixed the Fix EXTRACT_SHORT() and EXTRACT_LONG() macros (which were
   wrong on little endian machines).
index 521c1cef120c907ef80ac48d704323f760c54e09..2c562adb229162b2df0e6644f96dc5155d299cfd 100644 (file)
@@ -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;
index ce5b6afe98ed9532e254d073fb9b94af31c608dd..904fc4792e9258ff187bcdb8a8e22239a5fa19d9 100644 (file)
 #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 */
index ab3e2835539c4bde00573ee4cf293b6034747c41..5de100326194411e39525fae8cd1c1dd5b78cf56 100644 (file)
@@ -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,
index dd767ebab094d9d7112a70609efb4e38fe17773b..eebb6e3fdf2e15240a0cfe7975e0da7c27043f32 100644 (file)
@@ -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;
index f677b9711bd6eaebbcb5a264c388dd0f497450eb..c237e482a01e6882571767ce13d28fb05cecca0b 100644 (file)
@@ -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
 
index dc9ca401f9de7f913aa810ad4f311e4a56857262..f2db8c7681655ba2b3a712e1a3e0129f0ba524c6 100644 (file)
@@ -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 {
index ad4cdc206eadc0b6a2e7ca8de38d909ac67d3edd..5030b2193f3b4edbaf216945a70916660ca90dfe 100644 (file)
@@ -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
index e49474ea37a0266c8be8b49efa783739854816ea..ecd24cb1a1798611590e64d4b4dbd0a83acb09a2 100644 (file)
--- a/rpc_msg.h
+++ b/rpc_msg.h
@@ -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.
  */