projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31b083a
)
xend: Fix startup crash for some network configurations.
author
Keir Fraser
<keir@xensource.com>
Tue, 6 Nov 2007 09:39:25 +0000
(09:39 +0000)
committer
Keir Fraser
<keir@xensource.com>
Tue, 6 Nov 2007 09:39:25 +0000
(09:39 +0000)
From: Guillaume Rousse <Guillaume.Rousse@inria.fr>
Signed-off-by: Keir Fraser <keir@xensource.com>
tools/python/xen/xend/XendPIF.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xend/XendPIF.py
b/tools/python/xen/xend/XendPIF.py
index d2107307653c45e652f00be63e88e3042a9545ed..ee39ec5413ccd6be313d30f1e85915c50431ea8c 100644
(file)
--- a/
tools/python/xen/xend/XendPIF.py
+++ b/
tools/python/xen/xend/XendPIF.py
@@
-65,6
+65,7
@@
def linux_get_phy_ifaces():
if name.startswith('peth'):
bridged_ifname = linux_phy_to_virt(name)
bridged_if = ifaces.get(bridged_ifname)
+ bridged_mac = ''
if bridged_if:
bridged_mac = bridged_if[2]
phy_ifaces.append((name, int(mtu), bridged_mac))