aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 3a979c91..17837500 100755
--- a/sysconfig/network-scripts/ifup
+++ b/sysconfig/network-scripts/ifup
@@ -113,7 +113,7 @@ else
# to a non-local subnet.
# stupid hack, but it should work
if [ "$ISALIAS" = no ] && [ -z "`route -n | sed "s/ .*//" | grep ${NETWORK}`" ]; then
- route add -net ${NETWORK} netmask ${NETMASK} ${DEVICE}
+ route add -net ${NETWORK} netmask ${NETMASK} dev ${DEVICE}
else
route add -host ${IPADDR} ${DEVICE}
fi