diff options
author | Pablo M. Bermudo Garay <pablombg@gmail.com> | 2016-08-31 09:59:16 +0200 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2016-09-05 19:10:35 +0200 |
commit | 3105ed4f38752eafc4340dfa402cc12226107aa1 (patch) | |
tree | 84ffad3787671c3ea98eee40ee2fe83d6b555502 /iptables/xshared.h | |
parent | ef2a7e9fe0d82c691aeee1cbd61095841231974f (diff) |
xtables-translate-restore: do not escape quotes
If quotes are escaped, nft -f is unable to parse and load the translated
ruleset.
Signed-off-by: Pablo M. Bermudo Garay <pablombg@gmail.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'iptables/xshared.h')
-rw-r--r-- | iptables/xshared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/iptables/xshared.h b/iptables/xshared.h index 6eb8eb86..18b1cf37 100644 --- a/iptables/xshared.h +++ b/iptables/xshared.h @@ -63,6 +63,7 @@ struct iptables_command_state { int proto_used; const char *jumpto; char **argv; + bool restore; }; typedef int (*mainfunc_t)(int, char **); |