From owner-freebsd-questions Sun Sep 1 3: 2:38 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B995837B405 for ; Sun, 1 Sep 2002 03:02:32 -0700 (PDT) Received: from valis.olywa.net (valis.olywa.net [216.173.192.2]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC9B43E72 for ; Sun, 1 Sep 2002 03:02:32 -0700 (PDT) (envelope-from corey@snowpoint.com) Received: from intrepid.snowpoint.com ([216.173.213.173]) by valis.olywa.net (Post.Office MTA v3.5.3 release 223 ID# 0-56662U5000L500S0V35) with ESMTP id net; Sun, 1 Sep 2002 03:02:31 -0700 Received: from ([216.173.213.170]) by intrepid.snowpoint.com (Merak 4.4.2) with SMTP id HUB36795; Sat, 31 Aug 2002 17:32:09 -0700 From: "Corey Snow" To: "Markus Grundmann" Date: Sat, 31 Aug 2002 17:34:27 -0700 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Subject: Re: My version of "ifconfig.c" for FreeBSD 4.x Cc: freebsd-questions@freebsd.org Message-ID: <3D70FE23.16166.3A558BE8@localhost> In-reply-to: <002801c2514f$65b56c50$1a9692d9@hi.de.s2m.net> X-mailer: Pegasus Mail for Win32 (v3.12c) Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 1 Sep 2002, at 2:34, Markus Grundmann wrote: > Hi! > > Some of my servers has more than one interfaces (NICs) and > sometimes I was unable to determine the right interface. > I think a "Description Field" like the Cisco IOS is good idea. > > Now I have added a new (simple) function named "ifcomment" to the > source file "ifconfig.c". This function reads the description of > an interface from the file "/etc/interfaces" and > prints it out every you enter the command. > > The modified source (Version 8.2 from FreeBSD 4.6) is available for > download at ftp://ftp.activezone.org/dev/freebsd/ifconfig.tar.gz > Why don't you submit it for contribution into FreeBSD itself? There's info on submitting 3rd-party patches/enhancements on the FreeBSD web site. Corey To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message