]> git.ipfire.org Git - thirdparty/iptables.git/commit
mark: fix invalid iptables-save output
authorPablo Sebastian Greco <pablo@fliagreco.com.ar>
Mon, 29 Sep 2008 06:51:32 +0000 (08:51 +0200)
committerPablo Neira Ayuso <pablo@netfilter.org>
Mon, 29 Sep 2008 06:51:32 +0000 (08:51 +0200)
commit3cc6fc3cbf26b847ba7232ff220b74e74e72c219
tree404e2d54debde7c2c2009ec05da1bfbe1b41a271
parent4eb03c8e087c4cc438f2cbc0ff6a5e9b85f6d4fb
mark: fix invalid iptables-save output

When a neg mark is saved via iptables-save it is saved as !--mark,
but this is not recognized by iptables-restore, just adding a
space to the saved file to make it look like "! --mark" makes
iptables-restore accept the file.

Signed-off-by: Pablo Sebastian Greco <pablo@fliagreco.com.ar>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
extensions/libxt_mark.c