mirror of
https://gitlab.com/shorewall/code.git
synced 2024-12-28 09:08:48 +01:00
Fix dnat-only rules with 'DETECT_DNAT_ADDRS' -- Take 2
git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6224 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
parent
00e4876b88
commit
75e85a4003
@ -1916,7 +1916,7 @@ __EOF__
|
||||
run_iptables2 -A $chain $state $proto $multiport $cli $sports \
|
||||
$dports $ratelimit $user $mrk -j $target
|
||||
fi
|
||||
elif [ "$addr" = detect ]; then
|
||||
elif [ -n "$srv" -a "$addr" = detect ]; then
|
||||
save_command 'done'
|
||||
save_command ''
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user