aboutsummaryrefslogtreecommitdiffstats
path: root/sysconfig
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>2004-09-27 20:03:38 +0000
committerBill Nottingham <notting@redhat.com>2004-09-27 20:03:38 +0000
commit9e6a941bc0a3c1cf529417fec73eeb33b5f202ce (patch)
tree20caf9d41bed8f059fa898f0acf5eb1c6a0d7ad6 /sysconfig
parent803690689d71725b50add163a17bb31fca9c8611 (diff)
downloadinitscripts-9e6a941bc0a3c1cf529417fec73eeb33b5f202ce.tar
initscripts-9e6a941bc0a3c1cf529417fec73eeb33b5f202ce.tar.gz
initscripts-9e6a941bc0a3c1cf529417fec73eeb33b5f202ce.tar.bz2
initscripts-9e6a941bc0a3c1cf529417fec73eeb33b5f202ce.tar.xz
initscripts-9e6a941bc0a3c1cf529417fec73eeb33b5f202ce.zip
backport tokenring fix
Diffstat (limited to 'sysconfig')
-rw-r--r--sysconfig/network-scripts/network-functions2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysconfig/network-scripts/network-functions b/sysconfig/network-scripts/network-functions
index 554b6ba9..94df7351 100644
--- a/sysconfig/network-scripts/network-functions
+++ b/sysconfig/network-scripts/network-functions
@@ -10,7 +10,7 @@ export PATH
get_hwaddr ()
{
LC_ALL= LANG= ip -o link show ${1} 2>/dev/null | \
- sed 's/.*link\/ether \([[:alnum:]:]*\).*/\1/' | \
+ sed 's/.*link\/[^ ]* \([[:alnum:]:]*\).*/\1/' | \
awk '{ print toupper($0) }'
}