]> The Tcpdump Group git mirrors - tcpdump/commitdiff
spell ASCII in uppercase
authorDenis Ovsienko <[email protected]>
Thu, 10 Aug 2017 08:52:46 +0000 (09:52 +0100)
committerDenis Ovsienko <[email protected]>
Thu, 10 Aug 2017 08:52:46 +0000 (09:52 +0100)
nameser.h
netdissect.h
print-bootp.c
print-rx.c
util-print.c

index e075f09228aa6533744ee779088caa05e3fdb84a..4e08c7b98af0d091f9963519465d24a9cb28f2b6 100644 (file)
--- a/nameser.h
+++ b/nameser.h
 #define T_UID          101             /* user ID */
 #define T_GID          102             /* group ID */
 #define T_UNSPEC       103             /* Unspecified format (binary data) */
 #define T_UID          101             /* user ID */
 #define T_GID          102             /* group ID */
 #define T_UNSPEC       103             /* Unspecified format (binary data) */
-#define T_UNSPECA      104             /* "unspecified ascii". Ugly MIT hack */
+#define T_UNSPECA      104             /* "unspecified ASCII". Ugly MIT hack */
        /* Query type values which do not appear in resource records */
 #define T_TKEY         249             /* Transaction Key [RFC2930] */
 #define T_TSIG         250             /* Transaction Signature [RFC2845] */
        /* Query type values which do not appear in resource records */
 #define T_TKEY         249             /* Transaction Key [RFC2930] */
 #define T_TSIG         250             /* Transaction Signature [RFC2845] */
index 91fc2fba99cf6a36a4320f1ea20474ec4bff8e11..385e253bf2bf155a75e4690bcaddcb70d409b156 100644 (file)
@@ -158,8 +158,8 @@ struct netdissect_options {
   int ndo_uflag;               /* Print undecoded NFS handles */
   int ndo_vflag;               /* verbosity level */
   int ndo_xflag;               /* print packet in hex */
   int ndo_uflag;               /* Print undecoded NFS handles */
   int ndo_vflag;               /* verbosity level */
   int ndo_xflag;               /* print packet in hex */
-  int ndo_Xflag;               /* print packet in hex/ascii */
-  int ndo_Aflag;               /* print packet only in ascii observing TAB,
+  int ndo_Xflag;               /* print packet in hex/ASCII */
+  int ndo_Aflag;               /* print packet only in ASCII observing TAB,
                                 * LF, CR and SPACE as graphical chars
                                 */
   int ndo_Hflag;               /* dissect 802.11s draft mesh standard */
                                 * LF, CR and SPACE as graphical chars
                                 */
   int ndo_Hflag;               /* dissect 802.11s draft mesh standard */
index fe798a0483da50311042ed48a93856a7a7f2272d..ce2ecac4f4228c8d59bc1fb320d0a4011944bf51 100644 (file)
@@ -406,7 +406,7 @@ trunc:
  *     s - short (16 bits)
  *     b - period-seperated decimal bytes (variable length)
  *     x - colon-seperated hex bytes (variable length)
  *     s - short (16 bits)
  *     b - period-seperated decimal bytes (variable length)
  *     x - colon-seperated hex bytes (variable length)
- *     a - ascii string (variable length)
+ *     a - ASCII string (variable length)
  *     B - on/off (8 bits)
  *     $ - special (explicit code to handle)
  */
  *     B - on/off (8 bits)
  *     $ - special (explicit code to handle)
  */
@@ -424,7 +424,7 @@ static const struct tok tag2str[] = {
        { TAG_LPR_SERVER,       "iLPR-Server" },        /* lpr server (RFC1179) */
        { TAG_IMPRESS_SERVER,   "iIM" },        /* impress servers (Imagen) */
        { TAG_RLP_SERVER,       "iRL" },        /* resource location (RFC887) */
        { TAG_LPR_SERVER,       "iLPR-Server" },        /* lpr server (RFC1179) */
        { TAG_IMPRESS_SERVER,   "iIM" },        /* impress servers (Imagen) */
        { TAG_RLP_SERVER,       "iRL" },        /* resource location (RFC887) */
-       { TAG_HOSTNAME,         "aHostname" },  /* ascii hostname */
+       { TAG_HOSTNAME,         "aHostname" },  /* ASCII hostname */
        { TAG_BOOTSIZE,         "sBS" },        /* 512 byte blocks */
        { TAG_END,              " END" },
 /* RFC1497 tags */
        { TAG_BOOTSIZE,         "sBS" },        /* 512 byte blocks */
        { TAG_END,              " END" },
 /* RFC1497 tags */
@@ -704,7 +704,7 @@ rfc1048_print(netdissect_options *ndo,
                switch (c) {
 
                case 'a':
                switch (c) {
 
                case 'a':
-                       /* ascii strings */
+                       /* ASCII strings */
                        ND_PRINT((ndo, "\""));
                        if (fn_printn(ndo, bp, len, ndo->ndo_snapend)) {
                                ND_PRINT((ndo, "\""));
                        ND_PRINT((ndo, "\""));
                        if (fn_printn(ndo, bp, len, ndo->ndo_snapend)) {
                                ND_PRINT((ndo, "\""));
index ea3a5e67a2f4bc117cf8f3dc6bf3a71d852ebb9e..9df6b6aeec522b73ef977074fb53d3265811320b 100644 (file)
@@ -1138,7 +1138,7 @@ trunc:
  *
  * "positive" and "negative" are integers which contain the number of
  * positive and negative ACL's in the string.  The uid/aclbits pair are
  *
  * "positive" and "negative" are integers which contain the number of
  * positive and negative ACL's in the string.  The uid/aclbits pair are
- * ASCII strings containing the UID/PTS record and and a ascii number
+ * ASCII strings containing the UID/PTS record and an ASCII number
  * representing a logical OR of all the ACL permission bits
  */
 
  * representing a logical OR of all the ACL permission bits
  */
 
index 6eb820dfc994b3c61a193184a19a541d56613e7e..cb71d06cca2939f5582e73f959c4261a0fdd4af7 100644 (file)
@@ -86,7 +86,7 @@ fn_print_char(netdissect_options *ndo, u_char c)
 }
 
 /*
 }
 
 /*
- * Print out a null-terminated filename (or other ascii string).
+ * Print out a null-terminated filename (or other ASCII string).
  * If ep is NULL, assume no truncation check is needed.
  * Return true if truncated.
  * Stop at ep (if given) or before the null char, whichever is first.
  * If ep is NULL, assume no truncation check is needed.
  * Return true if truncated.
  * Stop at ep (if given) or before the null char, whichever is first.
@@ -119,7 +119,7 @@ fn_print(netdissect_options *ndo,
 }
 
 /*
 }
 
 /*
- * Print out a null-terminated filename (or other ascii string) from
+ * Print out a null-terminated filename (or other ASCII string) from
  * a fixed-length buffer.
  * If ep is NULL, assume no truncation check is needed.
  * Return the number of bytes of string processed, including the
  * a fixed-length buffer.
  * If ep is NULL, assume no truncation check is needed.
  * Return the number of bytes of string processed, including the
@@ -169,7 +169,7 @@ fn_printztn(netdissect_options *ndo,
 }
 
 /*
 }
 
 /*
- * Print out a counted filename (or other ascii string).
+ * Print out a counted filename (or other ASCII string).
  * If ep is NULL, assume no truncation check is needed.
  * Return true if truncated.
  * Stop at ep (if given) or after n bytes, whichever is first.
  * If ep is NULL, assume no truncation check is needed.
  * Return true if truncated.
  * Stop at ep (if given) or after n bytes, whichever is first.
@@ -197,7 +197,7 @@ fn_printn(netdissect_options *ndo,
 }
 
 /*
 }
 
 /*
- * Print out a null-padded filename (or other ascii string).
+ * Print out a null-padded filename (or other ASCII string).
  * If ep is NULL, assume no truncation check is needed.
  * Return true if truncated.
  * Stop at ep (if given) or after n bytes or before the null char,
  * If ep is NULL, assume no truncation check is needed.
  * Return true if truncated.
  * Stop at ep (if given) or after n bytes or before the null char,