From 832a9eda23b51dc83a11d44051549b8ee4245d11 Mon Sep 17 00:00:00 2001 From: phk Date: Tue, 14 Feb 1995 06:28:25 +0000 Subject: YFfix. --- sys/netinet/in.c | 4 +++- sys/netinet/raw_ip.c | 5 +++-- sys/netinet/tcp_input.c | 3 +-- sys/netinet/tcp_reass.c | 3 +-- 4 files changed, 8 insertions(+), 7 deletions(-) (limited to 'sys/netinet') diff --git a/sys/netinet/in.c b/sys/netinet/in.c index 9aa8ddb..c36b0fe 100644 --- a/sys/netinet/in.c +++ b/sys/netinet/in.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)in.c 8.2 (Berkeley) 11/15/93 - * $Id: in.c,v 1.7 1994/11/03 21:04:21 wollman Exp $ + * $Id: in.c,v 1.8 1994/12/22 21:56:22 wollman Exp $ */ #include @@ -50,6 +50,8 @@ #include #include +#include + /* * Return the network number from an internet address. */ diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index ac1afaa..4fcc900 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)raw_ip.c 8.2 (Berkeley) 1/4/94 - * $Id: raw_ip.c,v 1.13 1995/01/26 18:59:02 wollman Exp $ + * $Id: raw_ip.c,v 1.14 1995/02/07 02:53:14 wollman Exp $ */ #include @@ -239,7 +239,8 @@ rip_ctloutput(op, so, level, optname, m) return(EINVAL); } - if (op = PRCO_SETOPT) { + op = PRCO_SETOPT; + if (op) { error=(*ip_acct_ctl_ptr)(optname, *m); if (*m) (void)m_free(*m); diff --git a/sys/netinet/tcp_input.c b/sys/netinet/tcp_input.c index 306c256..d0a2195 100644 --- a/sys/netinet/tcp_input.c +++ b/sys/netinet/tcp_input.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_input.c 8.5 (Berkeley) 4/10/94 - * $Id: tcp_input.c,v 1.11 1995/02/09 23:13:23 wollman Exp $ + * $Id: tcp_input.c,v 1.12 1995/02/14 02:35:16 wollman Exp $ */ #ifndef TUBA_INCLUDE @@ -2064,7 +2064,6 @@ tcp_mss(tp, offer) extern int tcp_do_rfc1644; #endif extern int tcp_mssdflt; - extern int tcp_do_rfc1323; inp = tp->t_inpcb; if ((rt = tcp_rtlookup(inp)) == NULL) { diff --git a/sys/netinet/tcp_reass.c b/sys/netinet/tcp_reass.c index 306c256..d0a2195 100644 --- a/sys/netinet/tcp_reass.c +++ b/sys/netinet/tcp_reass.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)tcp_input.c 8.5 (Berkeley) 4/10/94 - * $Id: tcp_input.c,v 1.11 1995/02/09 23:13:23 wollman Exp $ + * $Id: tcp_input.c,v 1.12 1995/02/14 02:35:16 wollman Exp $ */ #ifndef TUBA_INCLUDE @@ -2064,7 +2064,6 @@ tcp_mss(tp, offer) extern int tcp_do_rfc1644; #endif extern int tcp_mssdflt; - extern int tcp_do_rfc1323; inp = tp->t_inpcb; if ((rt = tcp_rtlookup(inp)) == NULL) { -- cgit v1.1