forked from extern/shorewall_code
Fix logging DNAT with source = 'fw'
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1452 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
624e2f2ef3
commit
4f17fe4c68
@ -3068,7 +3068,7 @@ add_nat_rule() {
|
||||
else
|
||||
for adr in $(separate_list $addr); do
|
||||
if [ -n "$loglevel" ]; then
|
||||
log_rule_limit $loglevel $OUTPUT $logtarget "$ratelimit" "$logtag" -t nat \
|
||||
log_rule_limit $loglevel OUTPUT $logtarget "$ratelimit" "$logtag" -t nat \
|
||||
$(fix_bang $proto $cli $sports $userandgroup -d $adr $multiport $dports)
|
||||
fi
|
||||
|
||||
@ -3099,7 +3099,7 @@ add_nat_rule() {
|
||||
done
|
||||
|
||||
if [ -n "$loglevel" ]; then
|
||||
log_rule_limit $loglevel $chain $logtarget "$ratelimit" -t nat
|
||||
log_rule_limit $loglevel $chain $logtarget "$ratelimit" "$logtag" -t nat
|
||||
fi
|
||||
|
||||
addnatrule $chain $ratelimit $proto -j $target1 # Protocol is necessary for port redirection
|
||||
|
@ -1 +1 @@
|
||||
2.0.3c
|
||||
2.0.4
|
||||
|
Loading…
Reference in New Issue
Block a user