cvs commit: src/sbin/ipfw ipfw2.c
Ceri Davies
ceri at submonkey.net
Tue Apr 26 13:10:31 PDT 2005
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?
Ceri
--
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former. -- Einstein (attrib.)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050426/65a65ce1/attachment.bin
More information about the cvs-src
mailing list