aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Fenner <fenner@FreeBSD.org>2001-07-23 23:15:44 +0000
committerBill Fenner <fenner@FreeBSD.org>2001-07-23 23:15:44 +0000
commitd73c3f4796aedc880987eb5f3a250ca614cfd512 (patch)
tree85142bb010e2a52ed425c332ae2b441e9a57b408
parent669c0adba22172dcfeee507c5e64f2beb4bbb2a1 (diff)
Notes
-rw-r--r--contrib/tcpdump/print-domain.c3
-rw-r--r--contrib/tcpdump/tcpdump.19
2 files changed, 10 insertions, 2 deletions
diff --git a/contrib/tcpdump/print-domain.c b/contrib/tcpdump/print-domain.c
index 91fc3f69e6a7..fff315e39261 100644
--- a/contrib/tcpdump/print-domain.c
+++ b/contrib/tcpdump/print-domain.c
@@ -23,7 +23,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.64 2001/01/02 23:24:51 guy Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-domain.c,v 1.64.2.1 2001/02/21 09:01:20 guy Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -557,6 +557,7 @@ ns_print(register const u_char *bp, u_int length)
register const u_char *cp = NULL;
np = (const HEADER *)bp;
+ TCHECK(*np);
/* get the byte-order right */
qdcount = ntohs(np->qdcount);
ancount = ntohs(np->ancount);
diff --git a/contrib/tcpdump/tcpdump.1 b/contrib/tcpdump/tcpdump.1
index 785bfbc63081..64e61444e738 100644
--- a/contrib/tcpdump/tcpdump.1
+++ b/contrib/tcpdump/tcpdump.1
@@ -1,4 +1,4 @@
-.\" @(#) $Header: /tcpdump/master/tcpdump/tcpdump.1,v 1.92.2.2 2001/01/18 04:38:31 guy Exp $ (LBL)
+.\" @(#) $Header: /tcpdump/master/tcpdump/tcpdump.1,v 1.92.2.3 2001/03/04 00:19:48 guy Exp $ (LBL)
.\"
.\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997
.\" The Regents of the University of California. All rights reserved.
@@ -250,6 +250,13 @@ Print absolute, rather than relative, TCP sequence numbers.
.B \-tt
Print an unformatted timestamp on each dump line.
.TP
+.B \-ttt
+Print a delta (in micro-seconds) between current and previous line
+on each dump line.
+.TP
+.B \-tttt
+Print a timestamp in default format proceeded by date on each dump line.
+.TP
.B \-v
(Slightly more) verbose output. For example, the time to live,
identification, total length and options in an IP packet are printed.