From owner-freebsd-net Tue Jul 18 16:53:52 2000 Delivered-To: freebsd-net@freebsd.org Received: from bubba.whistle.com (bubba.whistle.com [207.76.205.7]) by hub.freebsd.org (Postfix) with ESMTP id 145C637B843 for ; Tue, 18 Jul 2000 16:53:50 -0700 (PDT) (envelope-from archie@whistle.com) Received: (from archie@localhost) by bubba.whistle.com (8.9.3/8.9.3) id QAA61412; Tue, 18 Jul 2000 16:53:38 -0700 (PDT) (envelope-from archie) From: Archie Cobbs Message-Id: <200007182353.QAA61412@bubba.whistle.com> Subject: Re: "ifconfig" == "ifconfig -a" In-Reply-To: <200007182356.BAA14966@guppy.evolunet.com> from Renaud Waldura at "Jul 19, 2000 01:56:16 am" To: Renaud Waldura Date: Tue, 18 Jul 2000 16:53:38 -0700 (PDT) Cc: "Richard A. Steenbergen" , gcorcoran@lucent.com, mph@astro.caltech.edu, freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Renaud Waldura writes: > I hate code/functionnality duplication as much as the next guy, but having to > call a command totally unrelated to "route" to display the routing table (ie. netstat) > has always struck me as a gratuitous twist. > > I cast my vote for a "route print". Try "route -dvn flush". This prints all the routes, but you can see how ugly it is. It would take a lot of code duplication to make it look as nice as netstat does I think. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message