aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts/ifup-routes
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2006-07-24 15:01:33 +0000
committerBill Nottingham <notting@redhat.com>2006-07-24 15:01:33 +0000
commitfd8bb5dac2fb70a9d1724cc750d9abb6670e212d (patch)
treed263f25ea13e78e9545c3c1d959ea918b9735855 /sysconfig/network-scripts/ifup-routes
parent49919020df92072aa50c259ed741690b452a5b33 (diff)
downloadinitscripts-fd8bb5dac2fb70a9d1724cc750d9abb6670e212d.tar
initscripts-fd8bb5dac2fb70a9d1724cc750d9abb6670e212d.tar.gz
initscripts-fd8bb5dac2fb70a9d1724cc750d9abb6670e212d.tar.bz2
initscripts-fd8bb5dac2fb70a9d1724cc750d9abb6670e212d.tar.xz
initscripts-fd8bb5dac2fb70a9d1724cc750d9abb6670e212d.zip
don't add routes directly to alias devices (#199825, #195656)
Diffstat (limited to 'sysconfig/network-scripts/ifup-routes')
-rwxr-xr-xsysconfig/network-scripts/ifup-routes2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-routes b/sysconfig/network-scripts/ifup-routes
index f6a228ae..d065aaf9 100755
--- a/sysconfig/network-scripts/ifup-routes
+++ b/sysconfig/network-scripts/ifup-routes
@@ -30,7 +30,7 @@ for file in $FILES; do
if [ -f "$file" ]; then
if egrep -q '^[[:space:]]*ADDRESS[0-9]+=' $file ; then
# new format
- handle_file $file $1
+ handle_file $file ${1%:*}
else
# older format
{ cat "$file" ; echo ; } | while read line; do