mirror of
https://gitlab.com/shorewall/code.git
synced 2024-11-08 00:34:04 +01:00
Fix missing 'done' with certain DNAT rules
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6824 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
b62144a496
commit
f284ca1cc0
@ -1897,6 +1897,11 @@ __EOF__
|
||||
done
|
||||
fi
|
||||
else
|
||||
if [ "$addr" = detect ]; then
|
||||
save_command 'done'
|
||||
save_command ''
|
||||
fi
|
||||
|
||||
if [ -n "$loglevel" -a -z "$natrule" ]; then
|
||||
log_rule_limit $loglevel $chain $logchain $logtarget "$ratelimit" "$logtag" -A $user $mrk \
|
||||
$state $(fix_bang $proto $sports $multiport $cli $(dest_ip_range $srv) $dports)
|
||||
@ -1915,6 +1920,11 @@ __EOF__
|
||||
done
|
||||
done
|
||||
else
|
||||
if [ "$addr" = detect ]; then
|
||||
save_command 'done'
|
||||
save_command ''
|
||||
fi
|
||||
|
||||
if [ -n "$loglevel" -a -z "$natrule" ]; then
|
||||
log_rule_limit $loglevel $chain $logchain $logtarget "$ratelimit" "$logtag" -A $user $mrk \
|
||||
$state $(fix_bang $proto $sports $multiport $cli $dports)
|
||||
|
Loading…
Reference in New Issue
Block a user