diff options
author | Bill Nottingham <notting@redhat.com> | 2006-07-24 15:01:33 +0000 |
---|---|---|
committer | Bill Nottingham <notting@redhat.com> | 2006-07-24 15:01:33 +0000 |
commit | fd8bb5dac2fb70a9d1724cc750d9abb6670e212d (patch) | |
tree | d263f25ea13e78e9545c3c1d959ea918b9735855 /sysconfig/network-scripts | |
parent | 49919020df92072aa50c259ed741690b452a5b33 (diff) | |
download | initscripts-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')
-rwxr-xr-x | sysconfig/network-scripts/ifup-routes | 2 |
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 |