summaryrefslogtreecommitdiffstats
path: root/extensions
diff options
context:
space:
mode:
authorOliver Ford <ojford@gmail.com>2017-05-26 12:25:16 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2017-05-29 14:00:54 +0200
commit8d994bcf6be09cd0a13d6f22c6e01e98fb130415 (patch)
tree1521c2444d27f05569d282cc775bce1b4688adc2 /extensions
parentf8e5ebc5986bffa682ed9e4497e3c19f19bf961e (diff)
iptables: Add file output option to iptables-save
Adds an option to output the results of iptables-save, ip6tables-save, and xtables-save save to a file. Updates the man page with this new option. Uses the dup2 call to replace stdout with the specified file. Error output is unchanged. This is a feature requested by a Gentoo developer in Bugzilla #905. Signed-off-by: Oliver Ford <ojford@gmail.com> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'extensions')
0 files changed, 0 insertions, 0 deletions