From fd8bb5dac2fb70a9d1724cc750d9abb6670e212d Mon Sep 17 00:00:00 2001 From: Bill Nottingham Date: Mon, 24 Jul 2006 15:01:33 +0000 Subject: don't add routes directly to alias devices (#199825, #195656) --- sysconfig/network-scripts/ifup-routes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysconfig/network-scripts/ifup-routes') 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 -- cgit v1.2.1