Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 23:11:23 +0200
From:      Roman Divacky <rdivacky@freebsd.org>
To:        current@freebsd.org
Subject:   [PATCH]: typo in contrib/ipf
Message-ID:  <20090615211123.GA88422@freebsd.org>

next in thread | raw e-mail | index | archive | help

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

hi

I found this typo:


Index: tools/ipfcomp.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/ncvs/src/contrib/ipfilter/tools/ipfcomp.c,v
retrieving revision 1.5
diff -u -r1.5 ipfcomp.c
--- tools/ipfcomp.c	4 Jun 2007 02:54:34 -0000	1.5
+++ tools/ipfcomp.c	15 Jun 2009 21:10:14 -0000
@@ -382,7 +382,7 @@
 extern frentry_t *ipf_rules_out_%s[%d];\n",
 			grp->fg_name, grp->fg_name, outcount);
=20
-		for (g =3D groups; g !=3D g; g =3D g->fg_next)
+		for (g =3D groups; g !=3D grp; g =3D g->fg_next)
 			if ((strncmp(g->fg_name, grp->fg_name,
 				     FR_GROUPLEN) =3D=3D 0) &&
 			    g->fg_flags =3D=3D grp->fg_flags)

can someone review it? darren reed ignored my mail. is it ok
to commit to contrib/ipf ?

thnx for the answers :)

roman


--PEIAKu/WMn1b1Hv9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (FreeBSD)

iEYEARECAAYFAko2uPoACgkQLVEj6D3CBEwRzQCfUO78NiULbNdsU+ERcsno+uAX
xOAAn2RKoS+J61r9er1I+65bjLfEqzNH
=qSNu
-----END PGP SIGNATURE-----

--PEIAKu/WMn1b1Hv9--



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