diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-06-11 21:23:35 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2018-06-11 21:23:35 +0000 |
commit | dc8f0c69923b67354ee463a2578898f8f30583ac (patch) | |
tree | 1e7c352937a674aafde77db4e966608b7737aa2b /sys | |
parent | 464a66950a190264681ac799d9ff34c0054ca4fb (diff) |
Fix RAMDISK build by removing an #ifdef INET6 in tcp_trace().
found the hard way by krw@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/netinet/tcp_debug.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/netinet/tcp_debug.c b/sys/netinet/tcp_debug.c index 8997019dabd..4ebf9321421 100644 --- a/sys/netinet/tcp_debug.c +++ b/sys/netinet/tcp_debug.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tcp_debug.c,v 1.27 2018/06/11 07:40:26 bluhm Exp $ */ +/* $OpenBSD: tcp_debug.c,v 1.28 2018/06/11 21:23:34 bluhm Exp $ */ /* $NetBSD: tcp_debug.c,v 1.10 1996/02/13 23:43:36 christos Exp $ */ /* @@ -120,10 +120,8 @@ tcp_trace(short act, short ostate, struct tcpcb *tp, struct tcpcb *otp, int pf = PF_UNSPEC; struct tcp_debug *td = &tcp_debug[tcp_debx++]; struct tcpiphdr *ti = (struct tcpiphdr *)headers; - struct tcphdr *th; -#ifdef INET6 struct tcpipv6hdr *ti6 = (struct tcpipv6hdr *)headers; -#endif + struct tcphdr *th; if (tcp_debx == TCP_NDEBUG) tcp_debx = 0; |