From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 14 21:30:15 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E419116A41F for ; Fri, 14 Oct 2005 21:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4176143D49 for ; Fri, 14 Oct 2005 21:30:15 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j9ELUFos083954 for ; Fri, 14 Oct 2005 21:30:15 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j9ELUFlE083944; Fri, 14 Oct 2005 21:30:15 GMT (envelope-from gnats) Resent-Date: Fri, 14 Oct 2005 21:30:15 GMT Resent-Message-Id: <200510142130.j9ELUFlE083944@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, antonio Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8959316A41F for ; Fri, 14 Oct 2005 21:25:34 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E843143D5A for ; Fri, 14 Oct 2005 21:25:28 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id j9ELPSON060954 for ; Fri, 14 Oct 2005 21:25:28 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id j9ELPSIX060951; Fri, 14 Oct 2005 21:25:28 GMT (envelope-from nobody) Message-Id: <200510142125.j9ELPSIX060951@www.freebsd.org> Date: Fri, 14 Oct 2005 21:25:28 GMT From: antonio To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: misc/87465: dhclient not properly configuring aliases X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Oct 2005 21:30:16 -0000 >Number: 87465 >Category: misc >Synopsis: dhclient not properly configuring aliases >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 14 21:30:14 GMT 2005 >Closed-Date: >Last-Modified: >Originator: antonio >Release: 6.0RC1 >Organization: >Environment: FreeBSD notebook 6.0-RC1 FreeBSD 6.0-RC1 #0: Thu Oct 13 20:49:26 CEST 2005 root@notebook:/usr/src/sys/i386/compile/notebook i386 >Description: the new dhclient doesn't allow do have aliases on dhcp configured interface. if I try to add alias via 'ifconfig rl0 alias ...' dhclient exists, leaving only aliased ip on the interface. adding alias statement to /etc/dhclient.conf will result in the same way. >How-To-Repeat: configure some interface via dhclient, then try to add alias via ifconfig, or try to add alias lines to /etc/dhclient.conf >Fix: may be it should by handled other way, but this works. --- dhclient.c.orig Fri Oct 14 23:13:48 2005 +++ dhclient.c Fri Oct 14 23:14:56 2005 @@ -221,10 +221,8 @@ if (addr_eq(a, l->address)) break; - if (l != NULL) /* new addr is the one we set */ - break; + break; - goto die; case RTM_DELADDR: ifam = (struct ifa_msghdr *)rtm; if (ifam->ifam_index != ifi->index) >Release-Note: >Audit-Trail: >Unformatted: