diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-07-17 18:33:25 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-07-17 18:33:25 +0000 |
commit | 45c60759bb8be639c7f0466753f744640e6993f3 (patch) | |
tree | 572982cf32f8753880e6fe8b514ce56f7bb0747a | |
parent | bbde1002806c340efc3bdd9ccfeb2ebda1134fa3 (diff) | |
download | anaconda-45c60759bb8be639c7f0466753f744640e6993f3.tar.gz anaconda-45c60759bb8be639c7f0466753f744640e6993f3.tar.xz anaconda-45c60759bb8be639c7f0466753f744640e6993f3.zip |
only try to get mac address of actual devs (#99327)
-rw-r--r-- | network.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/network.py b/network.py index 3be8fc421..dd9713a28 100644 --- a/network.py +++ b/network.py @@ -223,10 +223,10 @@ class Network: if desc is not None and len(desc) > 0: self.netdevices[device].set(("desc", desc)) - # add hwaddr - hwaddr = isys.getMacAddress(device) - if hwaddr and hwaddr != "00:00:00:00:00:00": - self.netdevices[device].set(("hwaddr", hwaddr)) + # add hwaddr + hwaddr = isys.getMacAddress(device) + if hwaddr and hwaddr != "00:00:00:00:00:00": + self.netdevices[device].set(("hwaddr", hwaddr)) def getDevice(self, device): return self.netdevices[device] |