]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix some typos
authorFrancois-Xavier Le Bail <[email protected]>
Mon, 1 Aug 2022 15:18:25 +0000 (17:18 +0200)
committerFrancois-Xavier Le Bail <[email protected]>
Mon, 1 Aug 2022 15:19:12 +0000 (17:19 +0200)
(cherry picked from commit b780f21e6243e80eb95ebfb94c4fd6ea9e79a3b3)

CHANGES
doc/README.Win32.md
print-802_15_4.c
print-bgp.c
slcompress.h

diff --git a/CHANGES b/CHANGES
index d2109c7b9b293aa4c077bc9c69b98936c808b07d..9f1cbb3e925753a287b1b0c250d804c8254c6dd2 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -874,7 +874,7 @@ Tue.        July 5, 2005.  [email protected]. Summary for 3.9.3 tcpdump release
                including improved 64bit support
        Many new testcases
        Support for sending packets
-       Many compliation fixes on most platforms
+       Many compilation fixes on most platforms
        Fixes for recent version of GCC to eliminate warnings
        Improved Unicode support
 
index c9fa4364327c4000e76211b6f9b02c5decae48c3..b7e81d1cf1c4031194c34168fab51247ca6792cd 100644 (file)
@@ -95,7 +95,7 @@ include built-in support for CMake-based projects as described
 
 For Visual Studio 2017, make sure "Visual C++ tools for CMake" is
 installed; for Visual Studio 2019, make sure "C++ CMake tools for
-Windows" is intalled.
+Windows" is installed.
 
 Git
 ---
index a9d43d96cb3c8be17e0443a0d2586daee11d3f52..1895be7ca19b9a8a420ffb0fd3c4723088180d2a 100644 (file)
@@ -420,7 +420,7 @@ static const char *mac_c_names[] = {
 /*
  * IEEE 802.15.4 CRC 16 function. This is using CCITT polynomical of 0x1021,
  * but the initial value is 0, and the bits are reversed for both in and out.
- * See secton 7.2.10 of 802.15.4-2015 for more information.
+ * See section 7.2.10 of 802.15.4-2015 for more information.
  */
 static uint16_t
 ieee802_15_4_crc16(netdissect_options *ndo, const u_char *p,
@@ -472,7 +472,7 @@ ieee802_15_4_reverse32(uint32_t x)
 /*
  * IEEE 802.15.4 CRC 32 function. This is using ANSI X3.66-1979 polynomical of
  * 0x04C11DB7, but the initial value is 0, and the bits are reversed for both
- * in and out. See secton 7.2.10 of 802.15.4-2015 for more information.
+ * in and out. See section 7.2.10 of 802.15.4-2015 for more information.
  */
 static uint32_t
 ieee802_15_4_crc32(netdissect_options *ndo, const u_char *p,
@@ -891,7 +891,7 @@ ieee802_15_4_print_header_ie(netdissect_options *ndo,
                        ND_PRINT("Ack time correction = %d, ", timecorr);
                }
                break;
-       case 0x22: /* Frament Sequence Content Description IE */
+       case 0x22: /* Fragment Sequence Content Description IE */
                /* XXX Not implemented */
        case 0x23: /* Simplified Superframe Specification IE */
                /* XXX Not implemented */
index bfe52efff2d3f81aca7d13b2f976893c5fe2e515..e13fdd910574d7cb47623b0843623f85beb5aa91 100644 (file)
@@ -949,7 +949,7 @@ bgp_rt_prefix_print(netdissect_options *ndo,
     /*
      * get the ext-comm type
      * Note: pptr references a static 8 octet buffer with unused bits set to 0,
-     * hense EXTRACT_*() macros are safe.
+     * hence EXTRACT_*() macros are safe.
      */
     ec_type = EXTRACT_BE_U_2(pptr);
     switch (ec_type) {
index 22d51f9a000f7c3211e03283ca22e8d457499b44..ddf131e954e300bc7851863230c1bcbd1c8705c4 100644 (file)
@@ -35,7 +35,7 @@
  *
  * There are 5 numbers which can change (they are always inserted
  * in the following order): TCP urgent pointer, window,
- * acknowlegement, sequence number and IP ID.  (The urgent pointer
+ * acknowledgement, sequence number and IP ID.  (The urgent pointer
  * is different from the others in that its value is sent, not the
  * change in value.)  Since typical use of SLIP links is biased
  * toward small packets (see comments on MTU/MSS below), changes