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

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

diff -u --recursive --new-file v2.3.38/linux/net/ipv4/ip_gre.c linux/net/ipv4/ip_gre.c
@@ -790,7 +790,7 @@
 			iph->ttl = ((struct ipv6hdr*)old_iph)->hop_limit;
 #endif
 		else
-			iph->ttl = ip_statistics.IpDefaultTTL;
+			iph->ttl = sysctl_ip_default_ttl;
 	}
 
 	((u16*)(iph+1))[0] = tunnel->parms.o_flags;

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