diff options
Diffstat (limited to 'usr.sbin/trpt/trpt.c')
-rw-r--r-- | usr.sbin/trpt/trpt.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/trpt/trpt.c b/usr.sbin/trpt/trpt.c index e89cfa69cfb..ba04d962fcf 100644 --- a/usr.sbin/trpt/trpt.c +++ b/usr.sbin/trpt/trpt.c @@ -1,4 +1,4 @@ -/* $OpenBSD: trpt.c,v 1.19 2003/09/19 08:15:56 deraadt Exp $ */ +/* $OpenBSD: trpt.c,v 1.20 2004/09/24 15:02:43 markus Exp $ */ /*- * Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -360,11 +360,8 @@ tcp_trace(short act, short ostate, struct tcpcb *atp, if (act == TA_OUTPUT) { NTOHL(seq); NTOHL(ack); - NTOHS(len); NTOHS(win); } - if (act == TA_OUTPUT) - len -= sizeof(struct tcphdr); if (len) printf("[%x..%x)", seq, seq + len); else |