From owner-cvs-src@FreeBSD.ORG Sat Jan 20 00:56:50 2007 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A85E116A402; Sat, 20 Jan 2007 00:56:50 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [69.147.83.41]) by mx1.freebsd.org (Postfix) with ESMTP id 8135913C478; Sat, 20 Jan 2007 00:56:50 +0000 (UTC) (envelope-from marius@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id l0K0uoMH042910; Sat, 20 Jan 2007 00:56:50 GMT (envelope-from marius@repoman.freebsd.org) Received: (from marius@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id l0K0uoVU042909; Sat, 20 Jan 2007 00:56:50 GMT (envelope-from marius) Message-Id: <200701200056.l0K0uoVU042909@repoman.freebsd.org> From: Marius Strobl Date: Sat, 20 Jan 2007 00:56:49 +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 ifconfig.8 ifmedia.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: Sat, 20 Jan 2007 00:56:50 -0000 marius 2007-01-20 00:56:49 UTC FreeBSD src repository Modified files: sbin/ifconfig ifconfig.8 ifmedia.c Log: - Display the media instance numbers and allow the user to set the active one. This is based on NetBSD but unlike NetBSD this implementation prints the instance number for all media instances and doesn't skip it for the first one as I don't see a reason to suppress it except for the vague reason to preserve the output for single-instance configurations. - Fix some whitespace nits. Revision Changes Path 1.131 +7 -2 src/sbin/ifconfig/ifconfig.8 1.23 +25 -1 src/sbin/ifconfig/ifmedia.c