[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: Fix startup crash for some network configurations.



# HG changeset patch
# User Keir Fraser <keir@xxxxxxxxxxxxx>
# Date 1194341965 0
# Node ID ed20c4232e16d1bf4e346deb02ca6a1a6271d5b4
# Parent  bfb1cb95863206a865fcd65a62a9b839a484c305
xend: Fix startup crash for some network configurations.
From: Guillaume Rousse <Guillaume.Rousse@xxxxxxxx>
Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>
---
 tools/python/xen/xend/XendPIF.py |    1 +
 1 files changed, 1 insertion(+)

diff -r bfb1cb958632 -r ed20c4232e16 tools/python/xen/xend/XendPIF.py
--- a/tools/python/xen/xend/XendPIF.py  Mon Nov 05 16:38:47 2007 +0000
+++ b/tools/python/xen/xend/XendPIF.py  Tue Nov 06 09:39:25 2007 +0000
@@ -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))

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.