aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig/network-scripts
diff options
context:
space:
mode:
Diffstat (limited to 'sysconfig/network-scripts')
-rwxr-xr-xsysconfig/network-scripts/ifup-aliases2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/ifup-aliases b/sysconfig/network-scripts/ifup-aliases
index fce77cb5..1ba0a5e5 100755
--- a/sysconfig/network-scripts/ifup-aliases
+++ b/sysconfig/network-scripts/ifup-aliases
@@ -275,7 +275,7 @@ function new_interface ()
if [ -f /etc/sysconfig/static-routes ]; then
#note the trailing space in the grep gets rid of aliases
- grep "^$1 " /etc/sysconfig/static-routes | while read device args; do
+ grep "^$DEVICE " /etc/sysconfig/static-routes | while read device args; do
/sbin/route add -$args $device
done
fi