Stray quote in advanced blocking

master
bbruns 2010-10-06 18:26:59 +00:00
parent 8840c3c630
commit d2b5f82942
1 changed files with 1 additions and 1 deletions

View File

@ -182,7 +182,7 @@ if [ $BLOCKEDIP ]; then
FWD) DIRECTION="FORWARD" ;; FWD) DIRECTION="FORWARD" ;;
*) DIRECTION="INPUT" ;; *) DIRECTION="INPUT" ;;
esac esac
${IPTABLES} -A ${DIRECTION} ${SRCIF} ${SRCIP} ${SRCPORT} ${DSTIF} ${DSTIP} ${DSTPORT} ${PROTO} -j DROP" ${IPTABLES} -A ${DIRECTION} ${SRCIF} ${SRCIP} ${SRCPORT} ${DSTIF} ${DSTIP} ${DSTPORT} ${PROTO} -j DROP
else else
$IPTABLES -A INPUT -s $i -j DROP $IPTABLES -A INPUT -s $i -j DROP
$IPTABLES -A OUTPUT -d $i -j DROP $IPTABLES -A OUTPUT -d $i -j DROP