Skip to content

Commit

Permalink
forgot a line
Browse files Browse the repository at this point in the history
  • Loading branch information
janeczku committed Mar 30, 2015
1 parent 7323c0a commit b0c6d44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions files/firewall
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ modinit
# Delete user made chains. Flush and zero the chains.
flush 1

if [ ! "$IF" == "" ]; then
if [ ! "$IF" == "" ] && [ "$VF_ROUTE" == "1" ]; then
for i in `echo $IF`; do
VAL_IF=`/sbin/route -n | grep -w $i`
if [ "$VAL_IF" == "" ]; then
Expand All @@ -40,7 +40,7 @@ if [ ! "$IF" == "" ]; then
fi
done
fi
if [ ! "$IF" == "" ] && [ "$VF_ROUTE" == "1" ]; then
if [ ! "$IFACE_TRUSTED" == "" ] && [ "$VF_ROUTE" == "1" ]; then
for i in `echo $IFACE_TRUSTED`; do
VAL_IFACE_TRUSTED=`/sbin/route -n | grep -w $i`
if [ "$VAL_IFACE_TRUSTED" == "" ]; then
Expand Down

0 comments on commit b0c6d44

Please sign in to comment.