aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig')
-rwxr-xr-xsysconfig/network-scripts/ifup2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup b/sysconfig/network-scripts/ifup
index a15293ee..efd18a7a 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -130,7 +130,7 @@ else
if [ "${GATEWAY}" != "" ]; then
route add default gw ${GATEWAY} ${DEVICE}
DEFGW=${GATEWAY}
- elif [ "${DEVICE}" != "lo" ]; then
+ elif [ "${GATEWAYDEV}" = "${DEVICE}" ]; then
route add default ${DEVICE}
fi
fi