From owner-cvs-all@FreeBSD.ORG Thu Feb 9 10:48:44 2006 Return-Path: X-Original-To: cvs-all@FreeBSD.org Delivered-To: cvs-all@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFF2816A422; Thu, 9 Feb 2006 10:48:44 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 716B243D45; Thu, 9 Feb 2006 10:48:44 +0000 (GMT) (envelope-from yar@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k19AmihZ088648; Thu, 9 Feb 2006 10:48:44 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k19Amivo088647; Thu, 9 Feb 2006 10:48:44 GMT (envelope-from yar) Message-Id: <200602091048.k19Amivo088647@repoman.freebsd.org> From: Yar Tikhiy Date: Thu, 9 Feb 2006 10:48:43 +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/ifconfig ifconfig.c ifvlan.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: Thu, 09 Feb 2006 10:48:44 -0000 yar 2006-02-09 10:48:43 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) sbin/ifconfig ifconfig.c ifvlan.c Log: MFC ifconfig.c rev. 1.117: Do address assignment/removal operations after callbacks. Presently, ifconfig callbacks are used for L2 configuration, media and vlan, so actions associated with address assignment, like sending out a gratuitous ARP, should go when L2 is running already. Return ifvlan.c to the state of rev. 1.7.2.2 -- undo the last back-out. The above change to ifconfig.c lets us use a callback for vlan set-up without facing the evil side-effects from IP assignment to an orphaned vlan interface. Approved by: re (scottl) Revision Changes Path 1.113.2.4 +6 -7 src/sbin/ifconfig/ifconfig.c 1.7.2.4 +36 -45 src/sbin/ifconfig/ifvlan.c