mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-15 10:51:02 +01:00
Conditionally create accounting chain
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@697 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
347ed2f629
commit
24ed025834
@ -1857,7 +1857,6 @@ process_accounting_rule() {
|
||||
if iptables -A accounting $rule ; then
|
||||
[ "x$rule2" != x ] && run_iptables -A accounting $rule2
|
||||
echo " Accounting rule" $action $source $dest $proto $port $sport Added
|
||||
fi
|
||||
else
|
||||
accounting_error
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user