summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannes <hannes>2007-09-21 07:07:52 +0000
committerhannes <hannes>2007-09-21 07:07:52 +0000
commitf086052e8b7fa4218cfbf812654592a9050ef7ad (patch)
tree934988c6593e1c1c9bcbefd246060c47685b0e64
parent10f9f9ba0ffa6b052f789eedcaef37b9a06f15ee (diff)
downloadtcpdump-3.9.8.tar.gz
in tcpdump a length field has the semantics of a 'total length field'tcpdump_3_9rel8tcpdump-3.9.8
i.e. including the header - the IP6 payload length field differs from that ... highlight the difference by printing 'payload length' rather than 'length'
-rw-r--r--print-ip6.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-ip6.c b/print-ip6.c
index b9e9983d..fa417e65 100644
--- a/print-ip6.c
+++ b/print-ip6.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] _U_ =
- "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.47.2.4 2007-09-14 00:39:22 guy Exp $";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-ip6.c,v 1.47.2.5 2007-09-21 07:07:52 hannes Exp $";
#endif
#ifdef HAVE_CONFIG_H
@@ -93,7 +93,7 @@ ip6_print(register const u_char *bp, register u_int length)
(void)printf("flowlabel 0x%05x, ", flow & 0x000fffff);
#endif
- (void)printf("hlim %u, next-header: %s (%u), length: %u) ",
+ (void)printf("hlim %u, next-header %s (%u) payload length: %u) ",
ip6->ip6_hlim,
tok2str(ipproto_values,"unknown",ip6->ip6_nxt),
ip6->ip6_nxt,