summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1995-02-09 00:56:09 +0000
committerdg <dg@FreeBSD.org>1995-02-09 00:56:09 +0000
commit79e7847479163f66da51daa57be39af57f0d4e7e (patch)
tree985c74a2dfd26a9e0b385d5f626c50ad0136b34e /sys
parent6ca0e1e381a7a6cc0a1408c3bed3ce7b0d5ce3b4 (diff)
downloadFreeBSD-src-79e7847479163f66da51daa57be39af57f0d4e7e.zip
FreeBSD-src-79e7847479163f66da51daa57be39af57f0d4e7e.tar.gz
Fixed another TTCP ifdef problem...there isn't any tcp_sysctl field in
!TTCP.
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet/in_proto.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c
index 68e6ff7..9455875 100644
--- a/sys/netinet/in_proto.c
+++ b/sys/netinet/in_proto.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)in_proto.c 8.1 (Berkeley) 6/10/93
- * $Id: in_proto.c,v 1.8 1994/12/11 21:36:10 wollman Exp $
+ * $Id: in_proto.c,v 1.9 1995/02/08 20:22:09 wollman Exp $
*/
#include <sys/param.h>
@@ -97,12 +97,15 @@ struct protosw inetsw[] = {
#ifdef TTCP
{ SOCK_STREAM, &inetdomain, IPPROTO_TCP,
PR_CONNREQUIRED|PR_IMPLOPCL|PR_WANTRCVD,
+ tcp_input, 0, tcp_ctlinput, tcp_ctloutput,
+ tcp_usrreq,
+ tcp_init, tcp_fasttimo, tcp_slowtimo, tcp_drain, tcp_sysctl
#else
{ SOCK_STREAM, &inetdomain, IPPROTO_TCP, PR_CONNREQUIRED|PR_WANTRCVD,
-#endif
tcp_input, 0, tcp_ctlinput, tcp_ctloutput,
tcp_usrreq,
- tcp_init, tcp_fasttimo, tcp_slowtimo, tcp_drain, tcp_sysctl
+ tcp_init, tcp_fasttimo, tcp_slowtimo, tcp_drain,
+#endif
},
{ SOCK_RAW, &inetdomain, IPPROTO_RAW, PR_ATOMIC|PR_ADDR,
rip_input, rip_output, 0, rip_ctloutput,
OpenPOWER on IntegriCloud