mirror of https://github.com/aredn/aredn.git
bugfix: Correct check for dmz-mode.
This commit is contained in:
parent
9d6fe1bca4
commit
b72ffed3cc
|
@ -51,7 +51,7 @@ is_olsrgw=`cat /etc/config.mesh/_setup|grep -i olsrd_gw|cut -d ' ' -f 3`
|
|||
echo "Setting routing rules."
|
||||
|
||||
if [ "$INTERFACE" == "wifi" ] || [ "$INTERFACE" == "dtdlink" ]; then
|
||||
if [ -z /etc/config/dmz-mode ] ; then
|
||||
if [ -e /etc/config/dmz-mode ] ; then
|
||||
ip rule add pref 20010 iif $DEVICE lookup 29
|
||||
fi
|
||||
ip rule add pref 20020 iif $DEVICE lookup 30
|
||||
|
|
Loading…
Reference in New Issue