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:
teastep 2004-07-06 18:13:05 +00:00
parent 624e2f2ef3
commit 4f17fe4c68
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -1 +1 @@
2.0.3c
2.0.4