Fix dnat-only rules with 'DETECT_DNAT_ADDRS' -- Take 3

git-svn-id: https://shorewall.svn.sourceforge.net/svnroot/shorewall/trunk@6225 fbd18981-670d-0410-9b5c-8dc0c1a9a2bb
This commit is contained in:
teastep 2007-05-03 21:57:45 +00:00
parent 75e85a4003
commit dbbfa59780

View File

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