svn commit: r251708 - stable/8/sbin/dhclient

John Baldwin jhb at FreeBSD.org
Thu Jun 13 21:03:24 UTC 2013


Author: jhb
Date: Thu Jun 13 21:03:23 2013
New Revision: 251708
URL: http://svnweb.freebsd.org/changeset/base/251708

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

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

Modified: stable/8/sbin/dhclient/packet.c
==============================================================================
--- stable/8/sbin/dhclient/packet.c	Thu Jun 13 21:02:44 2013	(r251707)
+++ stable/8/sbin/dhclient/packet.c	Thu Jun 13 21:03:23 2013	(r251708)
@@ -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-all mailing list