cvs commit: src/sbin/ipfw ipfw2.c

Brooks Davis brooks at one-eyed-alien.net
Tue Apr 26 13:22:46 PDT 2005


On Tue, Apr 26, 2005 at 09:10:29PM +0100, Ceri Davies wrote:
> On Tue, Apr 26, 2005 at 08:00:07PM +0000, Brooks Davis wrote:
> > brooks      2005-04-26 20:00:07 UTC
> > 
> >   FreeBSD src repository
> > 
> >   Modified files:
> >     sbin/ipfw            ipfw2.c 
> >   Log:
> >   Don't force IPv6 proto to be printed numericaly.
> 
> > | @@ -1599,8 +1599,6 @@ show_ipfw(struct ip_fw *rule, int pcwidt
> > |  			if (cmd->len & F_NOT)
> > |  				printf(" not");
> > |  			proto = cmd->arg1;
> > | -			if (proto != 41)	/* XXX: IPv6 is special */
> > | -				pe = getprotobynumber(cmd->arg1);
> > |  			if (flags & HAVE_OPTIONS)
> > |  				printf(" proto");
> > |  			if (pe)
> 
> Thanks; are you sure you wanted to remove that getprotobynumber call (pe
> will always be NULL now) though?

Arg, that's not want I ment to do.  I'll add that back.  Thanks.

-- Brooks

-- 
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-all/attachments/20050426/12cee2b8/attachment.bin


More information about the cvs-all mailing list