Push out 0.9.11

master
bbruns 2010-12-18 22:22:46 +00:00
parent 76a4f33cda
commit 4e7ee7cce9
1 changed files with 3 additions and 3 deletions

View File

@ -513,10 +513,10 @@ if [ "$PORTFW" ] && [ "$NAT" ]; then
if [ "$SRCIP" ]; then
SRCIP="-s ${SRCIP}"
fi
if [ ! "$DSTIP" ] && [ ! "$DSTIF" ]; then
DSTIP="-d $EXTIP"
elif [ "$DSTIP" ]; then
if [ "$DSTIP" ]; then
DSTIP="-d $DSTIP"
elif [ ! "$DSTIP" ] && [ ! "$DSTIF" ]; then
DSTIP="-d $EXTIP"
fi
#PORTADD=( ${i//:/ } )
$IPTABLES -A PREROUTING -t nat ${DSTIF} -p ${DSTPROTO} ${SRCIP} \