svn commit: r251707 - stable/9/sbin/dhclient

John Baldwin jhb at FreeBSD.org
Thu Jun 13 21:02:44 UTC 2013


Author: jhb
Date: Thu Jun 13 21:02:44 2013
New Revision: 251707
URL: http://svnweb.freebsd.org/changeset/base/251707

Log:
  MFC 249766: Use a higher TTL (128) for DHCP packets.

Modified:
  stable/9/sbin/dhclient/packet.c
Directory Properties:
  stable/9/sbin/dhclient/   (props changed)

Modified: stable/9/sbin/dhclient/packet.c
==============================================================================
--- stable/9/sbin/dhclient/packet.c	Thu Jun 13 21:01:33 2013	(r251706)
+++ stable/9/sbin/dhclient/packet.c	Thu Jun 13 21:02:44 2013	(r251707)
@@ -128,7 +128,7 @@ assemble_udp_ip_header(unsigned char *bu
 	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;


More information about the svn-src-stable-9 mailing list