summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-12-17 15:46:09 +0100
committerFrancois-Xavier Le Bail <fx.lebail@yahoo.com>2014-12-17 15:46:09 +0100
commitdf7577985f1c1ff40179bd1d1ff9f9a018696d7d (patch)
treefab58aae8dba7e6515d2c1dd54c048b4b48ee6bc
parent6fe428bcec12779def47758ea857def43e16d3ce (diff)
downloadtcpdump-df7577985f1c1ff40179bd1d1ff9f9a018696d7d.tar.gz
Fix some typos
-rw-r--r--print-cdp.c2
-rw-r--r--print-rpki-rtr.c2
-rw-r--r--tcpdump.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/print-cdp.c b/print-cdp.c
index 109c04c7..932f7bcc 100644
--- a/print-cdp.c
+++ b/print-cdp.c
@@ -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;
diff --git a/print-rpki-rtr.c b/print-rpki-rtr.c
index 5bb5df7b..6c743479 100644
--- a/print-rpki-rtr.c
+++ b/print-rpki-rtr.c
@@ -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 *
diff --git a/tcpdump.c b/tcpdump.c
index 2ec7d200..f9171ba6 100644
--- 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