diff options
author | Bill Nottingham <notting@redhat.com> | 1999-09-10 17:30:59 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 1999-09-10 17:30:59 +0000 |
commit | 301ca11b3b7fb1f3f01b53accabde865f9c5335e (patch) | |
tree | ac0a7ee395ab0b23b6fd2292d156972532f7d474 /sysconfig | |
parent | b59915fa3372aca8bdb9568b72afeb0ec7be723e (diff) | |
download | initscripts-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-x | sysconfig/network-scripts/ifup | 2 |
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 |