forked from extern/shorewall_code
Fix problems reported by Michael Van Damme
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@1400 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
d5d0e7fe85
commit
0cb1824b2b
@ -2571,10 +2571,10 @@ add_an_action()
|
|||||||
else
|
else
|
||||||
if [ -n "$loglevel" ]; then
|
if [ -n "$loglevel" ]; then
|
||||||
log_rule_limit $loglevel $action $logtarget "$ratelimit" "$logtag" $userandgroup \
|
log_rule_limit $loglevel $action $logtarget "$ratelimit" "$logtag" $userandgroup \
|
||||||
$(fix_bang $proto $sports $multiport $cli $dports)
|
$(fix_bang $proto $sports $multiport $cli $dest_interface $dports)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
run_iptables2 -A $action $proto $multiport $cli $sports \
|
run_iptables2 -A $action $proto $multiport $cli $dest_interface $sports \
|
||||||
$dports $ratelimit $userandgroup -j $target
|
$dports $ratelimit $userandgroup -j $target
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user