patch-2.3.39 linux/net/ipv4/ip_sockglue.c

Next file: linux/net/ipv4/ipconfig.c
Previous file: linux/net/ipv4/ip_output.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.38/linux/net/ipv4/ip_sockglue.c linux/net/ipv4/ip_sockglue.c
@@ -5,7 +5,7 @@
  *
  *		The IP to API glue.
  *		
- * Version:	$Id: ip_sockglue.c,v 1.45 1999/09/06 04:58:03 davem Exp $
+ * Version:	$Id: ip_sockglue.c,v 1.46 2000/01/09 02:19:32 davem Exp $
  *
  * Authors:	see ip.c
  *
@@ -479,7 +479,7 @@
 			if (optlen<1)
 				goto e_inval;
 			if(val==-1)
-				val = ip_statistics.IpDefaultTTL;
+				val = sysctl_ip_default_ttl;
 			if(val<1||val>255)
 				goto e_inval;
 			sk->protinfo.af_inet.ttl=val;

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)