patch-1.3.75 linux/net/ipv4/af_inet.c
Next file: linux/net/ipv4/arp.c
Previous file: linux/net/core/skbuff.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Sat Mar 16 13:52:11 1996
- Orig file:
v1.3.74/linux/net/ipv4/af_inet.c
- Orig date:
Wed Mar 13 10:09:26 1996
diff -u --recursive --new-file v1.3.74/linux/net/ipv4/af_inet.c linux/net/ipv4/af_inet.c
@@ -673,7 +673,7 @@
skb_queue_head_init(&sk->back_log);
sock->data =(void *) sk;
sk->dummy_th.doff = sizeof(sk->dummy_th)/4;
- sk->ip_ttl=64;
+ sk->ip_ttl=ip_statistics.IpDefaultTTL;
if(sk->type==SOCK_RAW && protocol==IPPROTO_RAW)
sk->ip_hdrincl=1;
else
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this