Date: Thu, 13 Jun 2013 21:02:44 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r251707 - stable/9/sbin/dhclient Message-ID: <201306132102.r5DL2iNY012460@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306132102.r5DL2iNY012460>