diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-07-17 18:33:30 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-07-17 18:33:30 +0000 |
commit | 9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7 (patch) | |
tree | 6cde7cc36386581ff8cd99973cb9ed88defdae4f /network.py | |
parent | 8bbc1e57c1ddbebe188da55ff49191877df8595e (diff) | |
download | anaconda-9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7.tar.gz anaconda-9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7.tar.xz anaconda-9c21c9a9160d2b56ba806d374d2bb40b8a8f08a7.zip |
only try to get mac address of actual devs (#99327)
Diffstat (limited to 'network.py')
-rw-r--r-- | network.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/network.py b/network.py index 32733ea8e..b58c16702 100644 --- a/network.py +++ b/network.py @@ -223,9 +223,9 @@ class Network: if desc is not None and len(desc) > 0: self.netdevices[device].set(("desc", desc)) - hwaddr = isys.getMacAddress(device) - if hwaddr and hwaddr != "00:00:00:00:00:00": - self.netdevices[device].set(("hwaddr", 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] |