Date: Tue, 26 Apr 2005 21:10:29 +0100 From: Ceri Davies <ceri@submonkey.net> To: Brooks Davis <brooks@FreeBSD.org> Cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ipfw ipfw2.c Message-ID: <20050426201029.GA7729@submonkey.net> In-Reply-To: <200504262000.j3QK07JX037635@repoman.freebsd.org> References: <200504262000.j3QK07JX037635@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
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.)
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)
iD8DBQFCbqA1ocfcwTS3JF8RAiH7AKCoZOc5f5MTH2pBDUdq+hQmRsn95QCeOxsY
RRfMbuY0RYJ9OW3o6qiPGlc=
=N5FO
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050426201029.GA7729>
