]> The Tcpdump Group git mirrors - tcpdump/commitdiff
Document that -x prints padding too.
authorfenner <fenner>
Mon, 24 Jun 2002 21:06:23 +0000 (21:06 +0000)
committerfenner <fenner>
Mon, 24 Jun 2002 21:06:23 +0000 (21:06 +0000)
tcpdump.1

index 14e6c3baf0d17e892dd4106745f98a8b460d8278..c8c7bfdc7bdd76d473a84d97d3087a2353ecc0d1 100644 (file)
--- a/tcpdump.1
+++ b/tcpdump.1
@@ -1,4 +1,4 @@
-.\" @(#) $Header: /tcpdump/master/tcpdump/Attic/tcpdump.1,v 1.121 2002-06-16 21:51:31 guy Exp $ (LBL)
+.\" @(#) $Header: /tcpdump/master/tcpdump/Attic/tcpdump.1,v 1.122 2002-06-24 21:06:23 fenner Exp $ (LBL)
 .\"
 .\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997
 .\"    The Regents of the University of California.  All rights reserved.
 .\"
 .\" Copyright (c) 1987, 1988, 1989, 1990, 1991, 1992, 1994, 1995, 1996, 1997
 .\"    The Regents of the University of California.  All rights reserved.
@@ -406,7 +406,10 @@ Standard output is used if \fIfile\fR is ``-''.
 Print each packet (minus its link level header) in hex.
 The smaller of the entire packet or
 .I snaplen
 Print each packet (minus its link level header) in hex.
 The smaller of the entire packet or
 .I snaplen
-bytes will be printed.
+bytes will be printed.  Note that this is the entire link-layer
+packet, so for link layers that pad (e.g. Ethernet), the padding bytes
+will also be printed when the higher layer packet is shorter than the
+required padding.
 .TP
 .B \-X
 When printing hex, print ascii too.
 .TP
 .B \-X
 When printing hex, print ascii too.