]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Fix some typos
authorFrancois-Xavier Le Bail <[email protected]>
Wed, 17 Dec 2014 14:46:09 +0000 (15:46 +0100)
committerFrancois-Xavier Le Bail <[email protected]>
Wed, 17 Dec 2014 14:46:09 +0000 (15:46 +0100)
print-cdp.c
print-rpki-rtr.c
tcpdump.c

index 109c04c7d2fe3d65c6a9b4dbb5e718ad2b48fc6d..932f7bccea6803d84bc8e529aa1f9133a01a645f 100644 (file)
@@ -171,7 +171,7 @@ cdp_print(netdissect_options *ndo,
                        for (i=0;i<len;i++) {
                            j = *(tptr+i);
                            ND_PRINT((ndo, "%c", j));
-                           if (j == 0x0a) /* lets rework the version string to get a nice identation */
+                           if (j == 0x0a) /* lets rework the version string to get a nice indentation */
                                ND_PRINT((ndo, "\t  "));
                        }
                        break;
index 5bb5df7b054152539c2b1034579df466217197cb..6c743479fead0eb2e2d2decef7d5753d09037e23 100644 (file)
@@ -120,7 +120,7 @@ static const struct tok rpki_rtr_error_codes[] = {
 };
 
 /*
- * Build a identation string for a given identation level.
+ * Build a indentation string for a given indentation level.
  * XXX this should be really in util.c
  */
 static char *
index 2ec7d2006b375bedf50e8ce5d7c51e33029944e6..f9171ba6ebbdb4709eb0df51a542d57a60ec0b26 100644 (file)
--- a/tcpdump.c
+++ b/tcpdump.c
@@ -2429,7 +2429,7 @@ print_packet(u_char *user, const struct pcap_pkthdr *h, const u_char *sp)
 static void
 ndo_default_print(netdissect_options *ndo, const u_char *bp, u_int length)
 {
-       hex_and_ascii_print(ndo, "\n\t", bp, length); /* pass on lf and identation string */
+       hex_and_ascii_print(ndo, "\n\t", bp, length); /* pass on lf and indentation string */
 }
 
 void