From owner-cvs-src@FreeBSD.ORG Thu Mar 9 14:58:10 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6DA8B16A420; Thu, 9 Mar 2006 14:58:10 +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 2B21E43D70; Thu, 9 Mar 2006 14:58:10 +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 k29EwAue000475; Thu, 9 Mar 2006 14:58:10 GMT (envelope-from yar@repoman.freebsd.org) Received: (from yar@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k29Ew9am000474; Thu, 9 Mar 2006 14:58:09 GMT (envelope-from yar) Message-Id: <200603091458.k29Ew9am000474@repoman.freebsd.org> From: Yar Tikhiy Date: Thu, 9 Mar 2006 14:58:09 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/ifconfig ifvlan.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Mar 2006 14:58:10 -0000 yar 2006-03-09 14:58:09 UTC FreeBSD src repository Modified files: sbin/ifconfig ifvlan.c Log: Revert to setting vlan and vlandev parametes synchronously, as soon as both have been read from the command line. Still use the callback, but this time only to verify that both vlan and vlandev have been found on the command line. This should allow for control over the relative order of processing parameters, which is needed to satisfy some caveats of the if_vlan driver. E.g., MTU cannot be changed on a vlan interface until it's attached to its parent. PR: bin/94028 Reviewed by: ru MFC after: 3 days Revision Changes Path 1.11 +9 -0 src/sbin/ifconfig/ifvlan.c