From e99d026c60efaa0dc6599c2a27a007096f4a413d Mon Sep 17 00:00:00 2001 From: David Greenman Date: Thu, 9 Feb 1995 00:56:09 +0000 Subject: [PATCH] Fixed another TTCP ifdef problem...there isn't any tcp_sysctl field in !TTCP. --- sys/netinet/in_proto.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sys/netinet/in_proto.c b/sys/netinet/in_proto.c index 68e6ff7aff31..9455875d085e 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 @@ -97,12 +97,15 @@ struct protosw inetsw[] = { #ifdef TTCP { SOCK_STREAM, &inetdomain, IPPROTO_TCP, PR_CONNREQUIRED|PR_IMPLOPCL|PR_WANTRCVD, -#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 +#else +{ SOCK_STREAM, &inetdomain, IPPROTO_TCP, PR_CONNREQUIRED|PR_WANTRCVD, + tcp_input, 0, tcp_ctlinput, tcp_ctloutput, + tcp_usrreq, + 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,