diff options
Diffstat (limited to 'lib/libstand/udp.c')
-rw-r--r-- | lib/libstand/udp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libstand/udp.c b/lib/libstand/udp.c index a95cede..194f564 100644 --- a/lib/libstand/udp.c +++ b/lib/libstand/udp.c @@ -90,7 +90,7 @@ sendudp(d, pkt, len) ip->ip_hl = sizeof(*ip) >> 2; /* half-char */ ip->ip_len = htons(len); ip->ip_p = IPPROTO_UDP; /* char */ - ip->ip_ttl = IP_TTL; /* char */ + ip->ip_ttl = IPDEFTTL; /* char */ ip->ip_src = d->myip; ip->ip_dst = d->destip; ip->ip_sum = in_cksum(ip, sizeof(*ip)); /* short, but special */ |