ia64/xen-unstable

changeset 1992:d004111c84fe

bitkeeper revision 1.1108.35.6 (41091d99KjjPC1MDTpjZgbI8NuFnog)

Fix mac formatting.
author mjw@wray-m-3.hpl.hp.com
date Thu Jul 29 15:54:01 2004 +0000 (2004-07-29)
parents 84b9fcf01e7f
children 7987ae627d4e
files tools/python/xen/xend/server/netif.py
line diff
     1.1 --- a/tools/python/xen/xend/server/netif.py	Thu Jul 29 14:51:30 2004 +0000
     1.2 +++ b/tools/python/xen/xend/server/netif.py	Thu Jul 29 15:54:01 2004 +0000
     1.3 @@ -164,7 +164,7 @@ class NetDev(controller.Dev):
     1.4      def get_mac(self):
     1.5          """Get the MAC address as a string.
     1.6          """
     1.7 -        return ':'.join(map(lambda x: "%x" % x, self.mac))
     1.8 +        return ':'.join(map(lambda x: "%02x" % x, self.mac))
     1.9  
    1.10      def vifctl_params(self, vmname=None):
    1.11          dom = self.controller.dom