Skip site navigation (1)Skip section navigation (2)
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

--iAzLNm1y1mIRgolD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 26, 2005 at 08:00:07PM +0000, Brooks Davis wrote:
> brooks      2005-04-26 20:00:07 UTC
>=20
>   FreeBSD src repository
>=20
>   Modified files:
>     sbin/ipfw            ipfw2.c=20
>   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 =3D cmd->arg1;
> | -			if (proto !=3D 41)	/* XXX: IPv6 is special */
> | -				pe =3D 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
--=20
Only two things are infinite, the universe and human stupidity, and I'm
not sure about the former.			  -- Einstein (attrib.)

--iAzLNm1y1mIRgolD
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD8DBQFCbqA1ocfcwTS3JF8RAiH7AKCoZOc5f5MTH2pBDUdq+hQmRsn95QCeOxsY
RRfMbuY0RYJ9OW3o6qiPGlc=
=N5FO
-----END PGP SIGNATURE-----

--iAzLNm1y1mIRgolD--



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