small updates to new gui exception dialog, fixed error checking and setting interface mac addresses
This commit is contained in:
parent
595e77a1ef
commit
6b5cd95ac2
5 changed files with 49 additions and 20 deletions
|
@ -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)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue