Use a higher TTL (128) for DHCP packets. This matches the ISC DHCP client.

PR:		bin/170279
MFC after:	1 week
This commit is contained in:
John Baldwin 2013-04-22 15:02:32 +00:00
parent 3280345272
commit 9291a1cd14

View File

@ -128,7 +128,7 @@ assemble_udp_ip_header(unsigned char *buf, int *bufix, u_int32_t from,
ip.ip_len = htons(sizeof(ip) + sizeof(udp) + len);
ip.ip_id = 0;
ip.ip_off = 0;
ip.ip_ttl = 16;
ip.ip_ttl = 128;
ip.ip_p = IPPROTO_UDP;
ip.ip_sum = 0;
ip.ip_src.s_addr = from;