util: Change virMacAddrFormat to lowercase hex characters

The domain XML generator creates the mac addres strings with lowercase
strings with a separate piece of code. This patch changes the formating
helper to do the same stuff to allow using it to normalize a string
provided by the user. After this change some of the tests that are
outputing the mac address will need to be changed.
This commit is contained in:
Peter Krempa
2013-03-26 11:45:29 +01:00
parent f84b92ea19
commit ab4bf20ead
19 changed files with 21 additions and 21 deletions

View File

@@ -3,7 +3,7 @@
<uuid>986fed9e-a488-186d-ef2d-17ebfd1993f8</uuid>
<forward mode='nat'/>
<bridge name='virbr1' stp='on' delay='0' />
<mac address='52:54:00:E6:A2:C9'/>
<mac address='52:54:00:e6:a2:c9'/>
<bandwidth>
<inbound average='1000' peak='2000' burst='1024'/>
<outbound average='2000'/>