From owner-cvs-all@FreeBSD.ORG Wed Oct 31 14:30:21 2007 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2FFBB16A417; Wed, 31 Oct 2007 14:30:21 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 1E2DA13C48E; Wed, 31 Oct 2007 14:30:21 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id l9VEULig086637; Wed, 31 Oct 2007 14:30:21 GMT (envelope-from emaste@repoman.freebsd.org) Received: (from emaste@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id l9VEUKEj086636; Wed, 31 Oct 2007 14:30:20 GMT (envelope-from emaste) Message-Id: <200710311430.l9VEUKEj086636@repoman.freebsd.org> From: Ed Maste Date: Wed, 31 Oct 2007 14:30:20 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: RELENG_6 Cc: Subject: cvs commit: src/sbin/dhclient clparse.c dhclient-script dhclient.c dhclient.conf dhcp.h tables.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Oct 2007 14:30:21 -0000 emaste 2007-10-31 14:30:20 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/dhclient clparse.c dhclient-script dhclient.c dhclient.conf dhcp.h tables.c Log: MFC to RELENG_6 dhclient RFC3442 support (the classless static route option) dhclient.conf 1.2 Add a $FreeBSD$ tag missing after the original import. Note that this file isn't actually installed; the one in src/etc is. clparse.c 1.3 dhclient-script 1.15 dhclient.c 1.21 dhclient.conf 1.3 dhcp.h 1.3 tables.c 1.4 Implement RFC3442, the Classless Static Route option. The original DHCP specification includes a route option but it supports only class-based routes. RFC3442 adds support for specifying the netmask width for each static route. A variable length encoding is used to minimize the size of this option. PR: bin/99534 Submitted by: Andrey V. Elsukov Reviewed by: brooks dhclient-script 1.16 The minimum size of an RFC3442 destination descriptor is five bytes, so correct test to -ge 5. Without this change an RFC3442 encoded default route would be ignored. Revision Changes Path 1.1.1.1.2.2 +2 -0 src/sbin/dhclient/clparse.c 1.4.2.6 +60 -0 src/sbin/dhclient/dhclient-script 1.6.2.7 +68 -0 src/sbin/dhclient/dhclient.c 1.1.1.1.2.1 +5 -2 src/sbin/dhclient/dhclient.conf 1.2.2.1 +1 -0 src/sbin/dhclient/dhcp.h 1.1.1.1.2.3 +3 -2 src/sbin/dhclient/tables.c