diff options
author | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-10-10 14:23:35 +0000 |
---|---|---|
committer | Jun-ichiro itojun Hagino <itojun@cvs.openbsd.org> | 2000-10-10 14:23:35 +0000 |
commit | 9cf3e77903bf3e98ce3533d22f5740b39d1805e1 (patch) | |
tree | 9e8baad9de12e66c8714fee54d6cb202ef4ab909 /sys/netinet6 | |
parent | 2eef2619cf0cea66100aa0fa2d3bf1fc420853b3 (diff) |
do not call tcp_init twice on dualstack machine
Diffstat (limited to 'sys/netinet6')
-rw-r--r-- | sys/netinet6/in6_proto.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet6/in6_proto.c b/sys/netinet6/in6_proto.c index 244af2cec19..36c459df1c0 100644 --- a/sys/netinet6/in6_proto.c +++ b/sys/netinet6/in6_proto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: in6_proto.c,v 1.23 2000/07/06 10:11:25 itojun Exp $ */ +/* $OpenBSD: in6_proto.c,v 1.24 2000/10/10 14:23:34 itojun Exp $ */ /* $KAME: in6_proto.c,v 1.64 2000/06/20 16:20:27 itojun Exp $ */ /* @@ -141,8 +141,8 @@ struct ip6protosw inet6sw[] = { { SOCK_STREAM, &inet6domain, IPPROTO_TCP, PR_CONNREQUIRED | PR_WANTRCVD, tcp6_input, 0, tcp6_ctlinput, tcp_ctloutput, tcp6_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 |