All of lore.kernel.org
 help / color / mirror / Atom feed
* Spurious newline in iptables-save output/policy match
@ 2004-08-18 18:24 Tom Eastep
  2004-08-19  9:48 ` Harald Welte
  0 siblings, 1 reply; 2+ messages in thread
From: Tom Eastep @ 2004-08-18 18:24 UTC (permalink / raw)
  To: Patrick McHardy, netfilter-devel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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.

Sample output from iptables-save:

- -A OUTPUT -o eth0 -m policy --dir out --pol ipsec
- -j fw2loc

- -Tom
- --
Tom Eastep    \ Nothing is foolproof to a sufficiently talented fool
Shoreline,     \ http://shorewall.net
Washington USA  \ teastep@shorewall.net
PGP Public Key   \ https://lists.shorewall.net/teastep.pgp.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFBI57uO/MAbZfjDLIRArRhAKCc/qMdRqqo+cDSGJqEwd/iI0XP+gCcDvaa
GflrHppQVOb94NY5A9TzV+o=
=8dYn
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-19  9:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-18 18:24 Spurious newline in iptables-save output/policy match Tom Eastep
2004-08-19  9:48 ` Harald Welte

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.