From owner-cvs-src-old@FreeBSD.ORG Fri Apr 2 05:19:11 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F14E1106566B for ; Fri, 2 Apr 2010 05:19:11 +0000 (UTC) (envelope-from qingli@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DEDDC8FC12 for ; Fri, 2 Apr 2010 05:19:11 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id o325JB7r087644 for ; Fri, 2 Apr 2010 05:19:11 GMT (envelope-from qingli@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id o325JB1J087643 for cvs-src-old@freebsd.org; Fri, 2 Apr 2010 05:19:11 GMT (envelope-from qingli@repoman.freebsd.org) Message-Id: <201004020519.o325JB1J087643@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to qingli@repoman.freebsd.org using -f From: Qing Li Date: Fri, 2 Apr 2010 05:12:46 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 Subject: cvs commit: src/sbin/ifconfig ifconfig.c src/sys/net if.h if_tap.c if_tun.c route.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2010 05:19:12 -0000 qingli 2010-04-02 05:12:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sbin/ifconfig ifconfig.c sys/net if.h if_tap.c if_tun.c route.h Log: SVN rev 206069 on 2010-04-02 05:12:46Z by qingli MFC 205222 Verify interface up status using its link state only if the interface has such capability. The interface capability flag indicates whether such capability exists. This approach is much more backward compatible. Physical device driver changes will be part of another commit. Also updated the ifconfig utility to show the LINKSTATE capability if present. Reviewed by: rwatson, imp, juli Revision Changes Path 1.146.2.4 +1 -1 src/sbin/ifconfig/ifconfig.c 1.120.2.5 +1 -0 src/sys/net/if.h 1.81.2.4 +2 -0 src/sys/net/if_tap.c 1.184.2.3 +2 -0 src/sys/net/if_tun.c 1.85.2.5 +1 -2 src/sys/net/route.h