]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix some typos
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 4 Jul 2022 09:58:59 +0000 (11:58 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 4 Jul 2022 12:03:15 +0000 (14:03 +0200)
[skip ci]

12 files changed:
aclocal.m4
configure
extract.h
netdissect-ctype.h
netdissect.h
print-arp.c
print-igrp.c
print-ip6.c
print-stp.c
slcompress.h
tcpdump.1.in
util-print.c

index 1b2e255a7900dc3214c2a9c3ed0006adac29efef..cf511c6b03ca72ccef511da14af21ece39137722 100644 (file)
@@ -243,7 +243,7 @@ AC_DEFUN(AC_LBL_CHECK_COMPILER_OPT,
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        AC_COMPILE_IFELSE(
index e8fa941817db6b18eb7946262173afcf6e5a9795..97fc63bb7373c3812b969dee8ce00c257e24dcd9 100755 (executable)
--- a/configure
+++ b/configure
@@ -7113,7 +7113,7 @@ $as_echo_n "checking whether the compiler supports the -W option... " >&6; }
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7165,7 +7165,7 @@ $as_echo_n "checking whether the compiler supports the -Wall option... " >&6; }
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7217,7 +7217,7 @@ $as_echo_n "checking whether the compiler supports the -Wassign-enum option... "
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7269,7 +7269,7 @@ $as_echo_n "checking whether the compiler supports the -Wcast-qual option... " >
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7321,7 +7321,7 @@ $as_echo_n "checking whether the compiler supports the -Wmissing-prototypes opti
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7373,7 +7373,7 @@ $as_echo_n "checking whether the compiler supports the -Wmissing-variable-declar
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7425,7 +7425,7 @@ $as_echo_n "checking whether the compiler supports the -Wold-style-definition op
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7477,7 +7477,7 @@ $as_echo_n "checking whether the compiler supports the -Wpedantic option... " >&
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7529,7 +7529,7 @@ $as_echo_n "checking whether the compiler supports the -Wpointer-arith option...
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7581,7 +7581,7 @@ $as_echo_n "checking whether the compiler supports the -Wpointer-sign option...
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7633,7 +7633,7 @@ $as_echo_n "checking whether the compiler supports the -Wshadow option... " >&6;
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7685,7 +7685,7 @@ $as_echo_n "checking whether the compiler supports the -Wsign-compare option...
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7737,7 +7737,7 @@ $as_echo_n "checking whether the compiler supports the -Wstrict-prototypes optio
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7789,7 +7789,7 @@ $as_echo_n "checking whether the compiler supports the -Wunreachable-code-return
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7841,7 +7841,7 @@ $as_echo_n "checking whether the compiler supports the -Wused-but-marked-unused
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
@@ -7893,7 +7893,7 @@ $as_echo_n "checking whether the compiler supports the -Wwrite-strings option...
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #    https://www.postgresql.org/message-id/2192993.1591682589%40sss.pgh.pa.us
        #
-       # This may, as per those two messages, be fixed in autoonf 2.70,
+       # This may, as per those two messages, be fixed in autoconf 2.70,
        # but we only require 2.64 or newer for now.
        #
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
index 685fe95ec25f106947b30416a838ea508f07badb..d7d803dfb277ceeb0e95ca485e80a57d4ee7ba52 100644 (file)
--- a/extract.h
+++ b/extract.h
@@ -149,7 +149,7 @@ EXTRACT_IPV4_TO_HOST_ORDER(const void *p)
  * cast the pointer to point to one of those, and fetch through it;
  * the GCC manual doesn't appear to explicitly say that
  * __attribute__((packed)) causes the compiler to generate unaligned-safe
- * code, but it apppears to do so.
+ * code, but it appears to do so.
  *
  * We do this in case the compiler can generate code using those
  * instructions to do an unaligned load and pass stuff to "ntohs()" or
index ae4a3ce0a5510fc4ba39131da983348cba26dd18..9f82200ea95c0e0420286f73fb28ce3e20e482e2 100644 (file)
@@ -42,7 +42,7 @@
 #define ND_TOASCII(c)          ((c) & 0x7F)
 
 /*
- * Locale-independent macros for coverting to upper or lower case.
+ * Locale-independent macros for converting to upper or lower case.
  *
  * Byte values outside the ASCII range are not converted.  Byte values
  * *in* the ASCII range are converted to byte values in the ASCII range;
index 056f201ca79c99b197935ba7b2db8b6b6351780e..ce878abe06671b912f77c43b57a7b685d0d85427 100644 (file)
@@ -177,7 +177,7 @@ typedef void (*if_printer) IF_PRINTER_ARGS;
  * buffer, we free the current buffer and pop the previous one off the
  * stack.
  *
- * A buffer has a beginnning and end pointer, and a link to the previous
+ * A buffer has a beginning and end pointer, and a link to the previous
  * buffer on the stack.
  *
  * In other cases, we temporarily adjust the snapshot end to reflect a
@@ -459,7 +459,7 @@ extern void txtproto_print(netdissect_options *, const u_char *, u_int,
     (defined(__s390__) || defined(__s390x__) || defined(__zarch__)) || \
     defined(__vax__)
 /*
- * The procesor natively handles unaligned loads, so just use memcpy()
+ * The processor natively handles unaligned loads, so just use memcpy()
  * and memcmp(), to enable those optimizations.
  *
  * XXX - are those all the x86 tests we need?
index 7d3efe74fa02e74b2e9f092338d3111a98cda594..9c085029242cd932c9657edac04eec84719952cb 100644 (file)
@@ -64,7 +64,7 @@ struct  arp_pkthdr {
 #define ARPOP_REVREPLY  4       /* response giving protocol address */
 #define ARPOP_INVREQUEST 8      /* request to identify peer */
 #define ARPOP_INVREPLY  9       /* response identifying peer */
-#define ARPOP_NAK       10      /* NAK - only valif for ATM ARP */
+#define ARPOP_NAK       10      /* NAK - only valid for ATM ARP */
 
 /*
  * The remaining fields are variable in size,
index 0efc78af9e6888739c36600b00a3846c4f5863d5..23dc1f5688af4c48996ecefededbfdf408154210 100644 (file)
@@ -44,7 +44,7 @@ struct igrphdr {
        nd_uint16_t ig_as;      /* autonomous system number */
        nd_uint16_t ig_ni;      /* number of subnet in local net */
        nd_uint16_t ig_ns;      /* number of networks in AS */
-       nd_uint16_t ig_nx;      /* number of networks ouside AS */
+       nd_uint16_t ig_nx;      /* number of networks outside AS */
        nd_uint16_t ig_sum;     /* checksum of IGRP header & data */
 };
 
index 829483345925c6d20c8b24ff789048aaa0b66873..47398cf066dbc28f2b3dde95ab477b74776cf00d 100644 (file)
@@ -441,7 +441,7 @@ ip6_print(netdissect_options *ndo, const u_char *bp, u_int length)
                                                goto trunc;
 
                                        /*
-                                        * OK, we didn't see any extnesion
+                                        * OK, we didn't see any extension
                                         * header, but that means we have
                                         * no payload, so set the length
                                         * to the IPv6 header length,
index 5030b2193f3b4edbaf216945a70916660ca90dfe..a4d49c4797f87059e89190c9b9dc18a3476fcd82 100644 (file)
@@ -144,7 +144,7 @@ stp_print_config_bpdu(netdissect_options *ndo, const struct stp_bpdu_ *stp_bpdu,
  *
  * 2 -  bytes Protocol Id
  * 1 -  byte  Protocol Ver.
- * 1 -  byte  BPDU tye
+ * 1 -  byte  BPDU type
  * 1 -  byte  Flags
  * 8 -  bytes CIST Root Identifier
  * 4 -  bytes CIST External Path Cost
index 644c7559e4a619eab8b006087ddf5f0623acbbc1..22d51f9a000f7c3211e03283ca22e8d457499b44 100644 (file)
@@ -14,7 +14,7 @@
  * from this software without specific prior written permission.
  * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
  * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
- * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
+ * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
  *
  *     Van Jacobson ([email protected]), Dec 31, 1989:
  *     - Initial distribution.
index 3c0192318260ee1286f6b0a2bf6705c0bfaa2568..fb109d122bd3ded9ea9f453174dc18d4fd181185 100644 (file)
@@ -666,7 +666,7 @@ Print every \fInth\fP packet. This option enables the \fB--print\fP flag.
 .IP
 Unprinted packets are not parsed, which decreases processing time. Setting
 \fInth\fP to \fB100\fP for example, will (counting from 1) parse and print the
-100th packet, 200th patcket, 300th packet, and so on.
+100th packet, 200th packet, 300th packet, and so on.
 .IP
 This option also enables the \fB-S\fP flag, as relative TCP sequence
 numbers are not tracked for unprinted packets.
index f5a7c622d0c6f44901afbbeeba945a0a54c61e1a..6d408d15d4ad772a74b01712f44c10118185cdbf 100644 (file)
@@ -925,7 +925,7 @@ txtproto_print(netdissect_options *ndo, const u_char *pptr, u_int len,
     (defined(__s390__) || defined(__s390x__) || defined(__zarch__)) || \
     defined(__vax__)
 /*
- * The procesor natively handles unaligned loads, so just use memcpy()
+ * The processor natively handles unaligned loads, so just use memcpy()
  * and memcmp(), to enable those optimizations.
  *
  * XXX - are those all the x86 tests we need?