Omit the 'shorewall' chain from .ip[6]tables-restore-input

Signed-off-by: Tom Eastep <teastep@shorewall.net>
This commit is contained in:
Tom Eastep 2014-11-02 08:16:47 -08:00
parent 8b825c4c4c
commit 8c0c1bd1e0

View File

@ -7914,7 +7914,7 @@ sub save_dynamic_chains() {
push_indent;
emit( 'if [ -n "$g_counters" ]; then' ,
" ${tool}-save --counters > \${VARDIR}/.${utility}-input",
" ${tool}-save --counters | grep -vE '[ :]shorewall ' > \${VARDIR}/.${utility}-input",
"fi\n"
);