From owner-cvs-src@FreeBSD.ORG Tue Apr 26 20:10:31 2005 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8B9F816A4CE; Tue, 26 Apr 2005 20:10:31 +0000 (GMT) Received: from shrike.submonkey.net (cpc4-cdif3-6-1-cust116.cdif.cable.ntl.com [82.23.41.116]) by mx1.FreeBSD.org (Postfix) with ESMTP id 229A443D67; Tue, 26 Apr 2005 20:10:31 +0000 (GMT) (envelope-from setantae@submonkey.net) Received: from setantae by shrike.submonkey.net with local (Exim 4.50 (FreeBSD)) id 1DQWO5-0004C0-TL; Tue, 26 Apr 2005 21:10:29 +0100 Date: Tue, 26 Apr 2005 21:10:29 +0100 From: Ceri Davies To: Brooks Davis Message-ID: <20050426201029.GA7729@submonkey.net> Mail-Followup-To: Ceri Davies , Brooks Davis , src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org References: <200504262000.j3QK07JX037635@repoman.freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="iAzLNm1y1mIRgolD" Content-Disposition: inline In-Reply-To: <200504262000.j3QK07JX037635@repoman.freebsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.9i Sender: Ceri Davies cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sbin/ipfw ipfw2.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Apr 2005 20:10:31 -0000 --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--