Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2006 20:08:12 +0700
From:      Eugene Grosbein <eugen@www.svzserv.kemerovo.su>
To:        Nikos Vassiliadis <nvass@teledomenet.gr>
Cc:        freebsd-hackers@freebsd.org, Eugene Grosbein <eugen@kuzbass.ru>
Subject:   Re: (feature change request) remove link-layer generated routes from netstat -r
Message-ID:  <20060224130812.GA32971@svzserv.kemerovo.su>
In-Reply-To: <200602230956.47263.nvass@teledomenet.gr>
References:  <200602221550.17842.nvass@teledomenet.gr> <20060223050659.GA89118@svzserv.kemerovo.su> <200602230956.47263.nvass@teledomenet.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Eugene



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060224130812.GA32971>