small updates to new gui exception dialog, fixed error checking and setting interface mac addresses

This commit is contained in:
Blake Harnden 2020-03-05 21:38:52 -08:00
parent 595e77a1ef
commit 6b5cd95ac2
5 changed files with 49 additions and 20 deletions

View file

@ -444,7 +444,7 @@ def random_mac() -> str:
value = random.randint(0, 0xFFFFFF)
value |= 0x00163E << 24
mac = netaddr.EUI(value)
mac.dialect = netaddr.mac_unix
mac.dialect = netaddr.mac_unix_expanded
return str(mac)