Displaying 1 result from an estimated 1 matches for "pif_name".
Did you mean:
if_name
2007 Nov 09
1
Bug#450678: xen-utils-common: /etc/init.d/xen restart fails when using network-bridge if netdev does not match eth[0-9+]
...-3.1-1/lib/python/xen/xend/XendPIF.py.orig 2007-11-09 01:29:00.000000000 -0500
+++ /usr/lib/xen-3.1-1/lib/python/xen/xend/XendPIF.py 2007-11-09 01:29:29.000000000 -0500
@@ -32,7 +32,7 @@
IP_IFACE_RE = re.compile(r'^\d+: (\w+):.*mtu (\d+) .* link/\w+ ([0-9a-f:]+)')
def linux_phy_to_virt(pif_name):
- return 'eth' + re.sub(r'^[a-z]+', '', pif_name)
+ return re.sub(r'^p', '', pif_name)
def linux_get_phy_ifaces():
"""Returns a list of physical interfaces.
Thanks for maintaining xen in debian!
Regards,
--dkg
-- System Inf...