summaryrefslogtreecommitdiff
path: root/usr.sbin/tcpdump
diff options
context:
space:
mode:
authorNiels Provos <provos@cvs.openbsd.org>1999-11-26 18:16:56 +0000
committerNiels Provos <provos@cvs.openbsd.org>1999-11-26 18:16:56 +0000
commit3e45116e0358987452370875d923a4e3dcefc455 (patch)
tree0ffa4db630f9525942133bedca11d4b3b0871be1 /usr.sbin/tcpdump
parent1e045cca317fe0571c29041fd00f1bab456dbb72 (diff)
fix error where SACKs were not printed with absolute sequence numbers
Diffstat (limited to 'usr.sbin/tcpdump')
-rw-r--r--usr.sbin/tcpdump/print-tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/tcpdump/print-tcp.c b/usr.sbin/tcpdump/print-tcp.c
index 7d5256756f4..0d5aa025f04 100644
--- a/usr.sbin/tcpdump/print-tcp.c
+++ b/usr.sbin/tcpdump/print-tcp.c
@@ -21,7 +21,7 @@
#ifndef lint
static const char rcsid[] =
- "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-tcp.c,v 1.8 1999/09/16 17:59:50 brad Exp $ (LBL)";
+ "@(#) $Header: /cvs/OpenBSD/src/usr.sbin/tcpdump/print-tcp.c,v 1.9 1999/11/26 18:16:55 provos Exp $ (LBL)";
#endif
#include <sys/param.h>
@@ -306,8 +306,8 @@ tcp_print(register const u_char *bp, register u_int length,
s -= th->ack;
e -= th->ack;
}
- (void) printf("{%u:%u} ", s, e);
}
+ (void) printf("{%u:%u} ", s, e);
}
break;
}