aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-10 17:30:59 +0000
committerBill Nottingham <notting@redhat.com>1999-09-10 17:30:59 +0000
commit301ca11b3b7fb1f3f01b53accabde865f9c5335e (patch)
treeac0a7ee395ab0b23b6fd2292d156972532f7d474 /sysconfig
parentb59915fa3372aca8bdb9568b72afeb0ec7be723e (diff)
downloadinitscripts-301ca11b3b7fb1f3f01b53accabde865f9c5335e.tar
initscripts-301ca11b3b7fb1f3f01b53accabde865f9c5335e.tar.gz
initscripts-301ca11b3b7fb1f3f01b53accabde865f9c5335e.tar.bz2
initscripts-301ca11b3b7fb1f3f01b53accabde865f9c5335e.tar.xz
initscripts-301ca11b3b7fb1f3f01b53accabde865f9c5335e.zip
add explicit 'dev'. Could help in some cases, I suppose.
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 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