diff options
Diffstat (limited to 'python')
-rw-r--r-- | python/vyos/ifconfig.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py index 777b185a6..e8ff59891 100644 --- a/python/vyos/ifconfig.py +++ b/python/vyos/ifconfig.py @@ -210,7 +210,7 @@ class Interface: # validate against the first mac address byte if it's a multicast # address - if int(mac.split(':')[0]) & 1: + if int(mac.split(':')[0], 16) & 1: raise ValueError('{} is a multicast MAC address'.format(mac)) # overall mac address is not allowed to be 00:00:00:00:00:00 |