summaryrefslogtreecommitdiffstats
path: root/network.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-07-31 00:14:56 +0000
committerJeremy Katz <katzj@redhat.com>2003-07-31 00:14:56 +0000
commit831930c4aaa63d029d48573b33a7c98586ede6ba (patch)
tree19437293bb2948338f9be020f43690c1afa780a9 /network.py
parentb1d546977dbe8a2b7cb059ef834f186f19a2311f (diff)
downloadanaconda-831930c4aaa63d029d48573b33a7c98586ede6ba.tar.gz
anaconda-831930c4aaa63d029d48573b33a7c98586ede6ba.tar.xz
anaconda-831930c4aaa63d029d48573b33a7c98586ede6ba.zip
merge from taroon branch to head
Diffstat (limited to 'network.py')
-rw-r--r--network.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/network.py b/network.py
index b58c16702..dd9713a28 100644
--- a/network.py
+++ b/network.py
@@ -223,10 +223,11 @@ 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))
-
+
def getDevice(self, device):
return self.netdevices[device]