summaryrefslogtreecommitdiffstats
path: root/sys/netinet/tcp_usrreq.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netinet/tcp_usrreq.c')
-rw-r--r--sys/netinet/tcp_usrreq.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/netinet/tcp_usrreq.c b/sys/netinet/tcp_usrreq.c
index af43fc3..7d7f71f 100644
--- a/sys/netinet/tcp_usrreq.c
+++ b/sys/netinet/tcp_usrreq.c
@@ -34,7 +34,6 @@
* $FreeBSD$
*/
-#include "opt_inet6.h"
#include "opt_tcpdebug.h"
#include <sys/param.h>
@@ -732,9 +731,7 @@ tcp_attach(so, p)
if (error)
return (error);
inp = sotoinpcb(so);
-#ifdef INET6
inp->inp_vflag |= INP_IPV4;
-#endif
tp = tcp_newtcpcb(inp);
if (tp == 0) {
int nofd = so->so_state & SS_NOFDREF; /* XXX */
OpenPOWER on IntegriCloud