From owner-svn-src-head@FreeBSD.ORG Mon Apr 22 15:02:33 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 4E5DE727; Mon, 22 Apr 2013 15:02:33 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 40E651078; Mon, 22 Apr 2013 15:02:33 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r3MF2XtD086910; Mon, 22 Apr 2013 15:02:33 GMT (envelope-from jhb@svn.freebsd.org) Received: (from jhb@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r3MF2X74086909; Mon, 22 Apr 2013 15:02:33 GMT (envelope-from jhb@svn.freebsd.org) Message-Id: <201304221502.r3MF2X74086909@svn.freebsd.org> From: John Baldwin Date: Mon, 22 Apr 2013 15:02:33 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r249766 - head/sbin/dhclient X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Apr 2013 15:02:33 -0000 Author: jhb Date: Mon Apr 22 15:02:32 2013 New Revision: 249766 URL: http://svnweb.freebsd.org/changeset/base/249766 Log: Use a higher TTL (128) for DHCP packets. This matches the ISC DHCP client. PR: bin/170279 MFC after: 1 week Modified: head/sbin/dhclient/packet.c Modified: head/sbin/dhclient/packet.c ============================================================================== --- head/sbin/dhclient/packet.c Mon Apr 22 13:02:41 2013 (r249765) +++ head/sbin/dhclient/packet.c Mon Apr 22 15:02:32 2013 (r249766) @@ -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;