summaryrefslogtreecommitdiff
path: root/print-tcp.c
diff options
context:
space:
mode:
authoritojun <itojun>2001-11-16 08:59:21 +0000
committeritojun <itojun>2001-11-16 08:59:21 +0000
commit3de4db3a28373811a7b1d067eb41b107fe1555e7 (patch)
treee22e7b8ff7c20dffce1610e24425047edb88a9f2 /print-tcp.c
parent9c1e9df222179b608f93b969c3a8c16b7bc7e25c (diff)
downloadtcpdump-3de4db3a28373811a7b1d067eb41b107fe1555e7.tar.gz
clarify some signedness mixup
Diffstat (limited to 'print-tcp.c')
-rw-r--r--print-tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/print-tcp.c b/print-tcp.c
index d91003df..2b50b5d1 100644
--- a/print-tcp.c
+++ b/print-tcp.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.93 2001-11-05 08:23:40 itojun Exp $ (LBL)";
+ "@(#) $Header: /tcpdump/master/tcpdump/print-tcp.c,v 1.94 2001-11-16 08:59:22 itojun Exp $ (LBL)";
#endif
#ifdef HAVE_CONFIG_H
@@ -417,7 +417,7 @@ tcp_print(register const u_char *bp, register u_int length,
length -= hlen;
if (vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST))
- (void)printf(" %u:%u(%d)", seq, seq + length, length);
+ (void)printf(" %u:%u(%u)", seq, seq + length, length);
if (flags & TH_ACK)
(void)printf(" ack %u", ack);