diff options
author | Guy Harris <gharris@steve.local> | 2009-03-01 13:57:53 -0800 |
---|---|---|
committer | Guy Harris <gharris@steve.local> | 2009-03-01 13:57:53 -0800 |
commit | 1859a4aac8b7c5b7ab64c9e748fc10100199a98f (patch) | |
tree | 8efa147442ba69cc201c385cbc858c2afe3fd104 /print-tcp.c | |
parent | e195fc87a8dc2d60f03f2bd787a8e380f7193287 (diff) | |
download | tcpdump-1859a4aac8b7c5b7ab64c9e748fc10100199a98f.tar.gz |
From Ilpo Järvinen: fix printing of TCP sequence number for data segments
so it's printed for segments containing data regardless of whether -v was
used or not.
Diffstat (limited to 'print-tcp.c')
-rw-r--r-- | print-tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/print-tcp.c b/print-tcp.c index de007c94..8efe6c69 100644 --- a/print-tcp.c +++ b/print-tcp.c @@ -452,7 +452,7 @@ tcp_print(register const u_char *bp, register u_int length, #endif length -= hlen; - if (vflag > 1 || flags & (TH_SYN | TH_FIN | TH_RST)) { + if (vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) { (void)printf(", seq %u", seq); if (length > 0) { |