Spurious newline in iptables-save output/policy match

Harald Welte laforge@netfilter.org
Thu Aug 19 10:48:54 CEST 2004


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

On Wed, Aug 18, 2004 at 11:24:46AM -0700, Tom Eastep wrote:
=20
> There is an unwarrented "printf("\n") at the end of the static function
> 'save' in libipt_policy.c. This causes output from iptables-save to be
> rejected by a subsequent iptables-restore.

thanks, fixed in CVS.

=20

--=20
- Harald Welte <laforge@netfilter.org>             http://www.netfilter.org/
=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=3D=3D=3D=3D=3D=3D=3D=3D=
=3D
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie

--0rpW5bEisVBStM29
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBJHeGXaXGVTD0i/8RAmlGAKChoVuJYZyFdGlqsCvNo/qDf3BOVwCdEWp7
Wan9coYC4tfi7LNpUA+IP4U=
=FuKT
-----END PGP SIGNATURE-----

--0rpW5bEisVBStM29--




More information about the netfilter-devel mailing list