From owner-freebsd-hackers@FreeBSD.ORG Fri Feb 24 13:38:02 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28DB516A420 for ; Fri, 24 Feb 2006 13:38:02 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from matrix.teledomenet.gr (dns1.teledomenet.gr [213.142.128.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6C73443D45 for ; Fri, 24 Feb 2006 13:38:01 +0000 (GMT) (envelope-from nvass@teledomenet.gr) Received: from iris ([192.168.1.71]) by matrix.teledomenet.gr (8.12.10/8.12.10) with ESMTP id k1ODc0uq015894; Fri, 24 Feb 2006 15:38:00 +0200 From: Nikos Vassiliadis To: Eugene Grosbein Date: Fri, 24 Feb 2006 15:34:29 +0200 User-Agent: KMail/1.8.3 References: <200602221550.17842.nvass@teledomenet.gr> <200602230956.47263.nvass@teledomenet.gr> <20060224130812.GA32971@svzserv.kemerovo.su> In-Reply-To: <20060224130812.GA32971@svzserv.kemerovo.su> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200602241534.29533.nvass@teledomenet.gr> Cc: freebsd-hackers@freebsd.org, Eugene Grosbein Subject: Re: (feature change request) remove link-layer generated routes from netstat -r X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Feb 2006 13:38:02 -0000 On Friday 24 February 2006 15:08, Eugene Grosbein wrote: > On Thu, Feb 23, 2006 at 09:56:46AM +0200, Nikos Vassiliadis wrote: > > > Just use: > > > > > > netstat -rn | awk '$3 !~ /L/ { print }' > > > > That's exactly the point Eugene, I don't want to find ways to filter it > > out. It happens frequently. I didn't say it's difficult to remove it, I > > just don't want it there all the time. That's why you can use -a to get > > the old behavior. > > Just make ~/bin/netstat that will filter for you most of the time. That's not the point, I am using FreeBSD 'cause I like it. And I like it as it is. And it's very good as it is. If I had to patch it in a hundred places, I wouldn't like it that much... FreeBSD grows the way its users want. At least this what I think. That, I think is the big difference from Linux Giorgos gave a solution, a new switch that will do just that. > Eugene