From owner-freebsd-questions Sun Sep 1 12: 9: 4 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 A926837B400 for ; Sun, 1 Sep 2002 12:09:00 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-64-165-226-146.dsl.lsan03.pacbell.net [64.165.226.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A44243E3B for ; Sun, 1 Sep 2002 12:09:00 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 9DDF066B41; Sun, 1 Sep 2002 12:08:59 -0700 (PDT) Date: Sun, 1 Sep 2002 12:08:59 -0700 From: Kris Kennaway To: Markus Grundmann Cc: freebsd-questions@FreeBSD.ORG Subject: Re: My version of "ifconfig.c" for FreeBSD 4.x Message-ID: <20020901190859.GB21494@xor.obsecurity.org> References: <002801c2514f$65b56c50$1a9692d9@hi.de.s2m.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="v9Ux+11Zm5mwPlX6" Content-Disposition: inline In-Reply-To: <002801c2514f$65b56c50$1a9692d9@hi.de.s2m.net> User-Agent: Mutt/1.4i 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 --v9Ux+11Zm5mwPlX6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Sep 01, 2002 at 02:34:56AM +0200, Markus Grundmann wrote: > Hi! > =20 > 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. > =20 > 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. > =20 > The modified source (Version 8.2 from FreeBSD 4.6) is available for > download at ftp://ftp.activezone.org/dev/freebsd/ifconfig.tar.gz Please see the handbook for information on how to submit your changes back for inclusion. Kris --v9Ux+11Zm5mwPlX6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (FreeBSD) iD8DBQE9cmXKWry0BWjoQKURAuJyAKCSO1ZPevdQzkQokHEnsdVGbjwphwCg6TTL JGeDsCDH0SXRI36JaDIgL5A= =TEhf -----END PGP SIGNATURE----- --v9Ux+11Zm5mwPlX6-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message