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:
teastep 2007-05-03 21:48:16 +00:00
parent 81cf114080
commit 00e4876b88

View File

@ -1916,6 +1916,9 @@ __EOF__
run_iptables2 -A $chain $state $proto $multiport $cli $sports \
$dports $ratelimit $user $mrk -j $target
fi
elif [ "$addr" = detect ]; then
save_command 'done'
save_command ''
fi
else