Don't initialize TCP twice on v4/v6 dual stack kernel.
This commit is contained in:
parent
5e09a97a4e
commit
0b9cbefe70
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: in6_proto.c,v 1.19 2000/07/28 04:06:59 itojun Exp $ */
|
||||
/* $NetBSD: in6_proto.c,v 1.20 2000/10/10 13:25:28 enami Exp $ */
|
||||
/* $KAME: in6_proto.c,v 1.64 2000/06/20 16:20:27 itojun Exp $ */
|
||||
|
||||
/*
|
||||
|
@ -169,8 +169,8 @@ struct ip6protosw inet6sw[] = {
|
|||
{ SOCK_STREAM, &inet6domain, IPPROTO_TCP, PR_CONNREQUIRED|PR_WANTRCVD|PR_LISTEN,
|
||||
tcp6_input, 0, tcp6_ctlinput, tcp_ctloutput,
|
||||
tcp_usrreq,
|
||||
#ifdef INET /* don't call timeout routines twice */
|
||||
tcp_init, 0, 0, tcp_drain,
|
||||
#ifdef INET /* don't call initialization and timeout routines twice */
|
||||
0, 0, 0, tcp_drain,
|
||||
#else
|
||||
tcp_init, tcp_fasttimo, tcp_slowtimo, tcp_drain,
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue