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