[comp.bugs.4bsd] network release - sys/netinet/ip_input.c undeclared variable

grr@cbmvax.UUCP (George Robbins) (06/04/89)

Subject: network release - sys/netinet/ip_input.c undeclared variable
Index:	sys/netinet/ip_input.c network-release Fix

Description:
	ip_icmp.c won't compile due to an undeclared variable "ipcksum".

Repeat-By:
	After merging the network release into 4.3 Tahoe, config/make a
	VAX kernel with internet protocols.

Fix:
	Include some kind of declaration for ipcksum.

*** sys/netinet/ip_input.c.grr	Fri Jun  2 19:37:05 1989
--- sys/netinet/ip_input.c	Fri Jun  2 19:37:06 1989
***************
*** 53,58 ****
--- 53,59 ----
  int	ipforwarding = IPFORWARDING;
  extern	int in_interfaces;
  int	ipsendredirects = IPSENDREDIRECTS;
+ u_char	ipcksum = 1;
  
  u_char	ip_protox[IPPROTO_MAX];
  int	ipqmaxlen = IFQ_MAXLEN;
-- 
George Robbins - now working for,	uucp: {uunet|pyramid|rutgers}!cbmvax!grr
but no way officially representing	arpa: cbmvax!grr@uunet.uu.net
Commodore, Engineering Department	fone: 215-431-9255 (only by moonlite)