From owner-cvs-all@FreeBSD.ORG Tue Oct 11 02:58:33 2005 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 0303116A41F; Tue, 11 Oct 2005 02:58:33 +0000 (GMT) (envelope-from thompsa@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id B56F243D46; Tue, 11 Oct 2005 02:58:32 +0000 (GMT) (envelope-from thompsa@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 j9B2wWFr077875; Tue, 11 Oct 2005 02:58:32 GMT (envelope-from thompsa@repoman.freebsd.org) Received: (from thompsa@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id j9B2wWt8077874; Tue, 11 Oct 2005 02:58:32 GMT (envelope-from thompsa) Message-Id: <200510110258.j9B2wWt8077874@repoman.freebsd.org> From: Andrew Thompson Date: Tue, 11 Oct 2005 02:58:32 +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/sys/net bridgestp.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: Tue, 11 Oct 2005 02:58:33 -0000 thompsa 2005-10-11 02:58:32 UTC FreeBSD src repository Modified files: sys/net bridgestp.c Log: Do not unconditionally set a spanning tree port to forwarding as the link may be down when we attach. We wont get updated until a linkstate change happens. Go via bstp_ifupdstatus() which checks the media status first. Revision Changes Path 1.7 +1 -1 src/sys/net/bridgestp.c