diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-07-28 14:08:15 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-07-28 14:08:15 +0000 |
commit | aa334bff81d9c3c9813e2699ef1e1f1792f313f8 (patch) | |
tree | 3471843cd1719269294f56a3f6e09a9e6ea4e4f3 /usr.sbin/tcpdump | |
parent | 589b3757012799c25ca6f1d93d71c8917583b7b4 (diff) |
print th_seq for -vv; ok hshoexer, henning
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r-- | usr.sbin/tcpdump/print-tcp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/tcpdump/print-tcp.c b/usr.sbin/tcpdump/print-tcp.c index ef807fc4a5a..c19590154f5 100644 --- a/usr.sbin/tcpdump/print-tcp.c +++ b/usr.sbin/tcpdump/print-tcp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: print-tcp.c,v 1.19 2004/01/15 12:27:07 markus Exp $ */ +/* $OpenBSD: print-tcp.c,v 1.20 2004/07/28 14:08:14 markus Exp $ */ /* * Copyright (c) 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997 @@ -23,7 +23,7 @@ #ifndef lint static const char rcsid[] = - "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-tcp.c,v 1.19 2004/01/15 12:27:07 markus Exp $ (LBL)"; + "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-tcp.c,v 1.20 2004/07/28 14:08:14 markus Exp $ (LBL)"; #endif #include <sys/param.h> @@ -429,7 +429,7 @@ tcp_print(register const u_char *bp, register u_int length, } length -= hlen; - if (length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) + if (vflag > 1 || length > 0 || flags & (TH_SYN | TH_FIN | TH_RST)) (void)printf(" %lu:%lu(%d)", (long) seq, (long) (seq + length), length); if (flags & TH_ACK) |