From owner-freebsd-bugs@FreeBSD.ORG Thu Nov 21 06:20:01 2013 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A0738B4C for ; Thu, 21 Nov 2013 06:20:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 907502563 for ; Thu, 21 Nov 2013 06:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id rAL6K11R072499 for ; Thu, 21 Nov 2013 06:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id rAL6K1na072498; Thu, 21 Nov 2013 06:20:01 GMT (envelope-from gnats) Date: Thu, 21 Nov 2013 06:20:01 GMT Message-Id: <201311210620.rAL6K1na072498@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Mark Linimon Subject: Re: bin/184117: dhclient does not parse /etc/dhclient.conf correctly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list Reply-To: Mark Linimon List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Nov 2013 06:20:01 -0000 The following reply was made to PR bin/184117; it has been noted by GNATS. From: Mark Linimon To: bug-followup@FreeBSD.org Cc: Subject: Re: bin/184117: dhclient does not parse /etc/dhclient.conf correctly Date: Thu, 21 Nov 2013 00:19:51 -0600 ----- Forwarded message from Lowell Gilbert ----- Date: Wed, 20 Nov 2013 09:57:53 -0500 From: Lowell Gilbert To: freebsd-bugs@freebsd.org Subject: Re: misc/184117: dhclient does not parse /etc/dhclient.conf correctly User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (berkeley-unix) Making all options work with the "option-nnn" syntax would best be done by importing a newer version of the ISC code. For defined option types, it's better to use the official names because that way type handling is enabled as well. The user-class option is not in the dhcp_option_default_priority_list array in sbin/dhclient/tables.c. Adding it (DHO_DHCP_USER_CLASS_ID) will make the user-class option work. I.E.: --- tables.c.~1~ 2013-11-20 09:52:25.521743815 -0500 +++ tables.c 2013-11-20 09:53:33.733663843 -0500 @@ -365,6 +365,7 @@ DHO_INTERFACE_MTU, DHO_ALL_SUBNETS_LOCAL, DHO_BROADCAST_ADDRESS, + DHO_DHCP_USER_CLASS_ID DHO_PERFORM_MASK_DISCOVERY, DHO_MASK_SUPPLIER, DHO_ROUTER_DISCOVERY, _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscribe@freebsd.org" ----- End forwarded message -----