summaryrefslogtreecommitdiff
path: root/tcpdump.1
diff options
context:
space:
mode:
authorfenner <fenner>2002-06-24 21:06:23 +0000
committerfenner <fenner>2002-06-24 21:06:23 +0000
commit3accac7c0624686a3bdb58237baf1076086a5a45 (patch)
tree4c6796625cb5498459ae66d965eb6e613ccb16cb /tcpdump.1
parent86380ac392da1fd106873d29b2d24b72aa478fa2 (diff)
downloadtcpdump-3accac7c0624686a3bdb58237baf1076086a5a45.tar.gz
Document that -x prints padding too.
Diffstat (limited to 'tcpdump.1')
-rw-r--r--tcpdump.17
1 files changed, 5 insertions, 2 deletions
diff --git a/tcpdump.1 b/tcpdump.1
index 14e6c3ba..c8c7bfdc 100644
--- 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.
@@ -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
-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.