mirror of
https://github.com/libvirt/libvirt.git
synced 2026-09-03 20:53:04 -05:00
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:
@@ -5,7 +5,7 @@
|
||||
<interface dev='eth1'/>
|
||||
</forward>
|
||||
<bridge name='virbr1' stp='on' delay='0' />
|
||||
<mac address='12:34:56:78:9A:BC'/>
|
||||
<mac address='12:34:56:78:9a:bc'/>
|
||||
<ip address='192.168.122.1' netmask='255.255.255.0'>
|
||||
</ip>
|
||||
</network>
|
||||
|
||||
Reference in New Issue
Block a user