Date: Fri, 2 Nov 2007 18:38:13 -0500 From: Bob Hall <rjhjr@cox.net> To: deeptech71@gmail.com Cc: freebsd-questions@freebsd.org Subject: Re: IPFW Rules and Games Message-ID: <20071102233813.GA79572@kongemord.krig.net> In-Reply-To: <472B9DA8.6000800@gmail.com> References: <472AF4FF.9000803@gmail.com> <20071102141525.19a05fc7@gumby.homeunix.com.> <472B6552.9060602@gmail.com> <472B9DA8.6000800@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Nov 02, 2007 at 10:59:04PM +0100, deeptech71@gmail.com wrote:
> >        onet=`ifconfig xl0 | grep "inet " | awk '{print $6}'`
> I'm not sure about this. Isn't the sixth word the broadcast address 
> (ending with .255)?
It's correct. I've been using this in my firewall file since FBSD
4.something. No problems. By default, awk uses spaces as column
delimiters. The line containing "inet " starts with eight spaces. Try it
and see what happens.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071102233813.GA79572>
