diff options
author | hagbard-01 <39653662+hagbard-01@users.noreply.github.com> | 2019-09-23 08:17:35 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-23 08:17:35 -0700 |
commit | eed2ba5379067ba3ef3a7b9eef72b8252958e766 (patch) | |
tree | c87a8ecba123e530c24e06057a482de50b2b621d /python/vyos/ifconfig.py | |
parent | e635223f3dbf244e528cdfe6ae867006143052a7 (diff) | |
parent | 2b5803479cae71b2d195b878b9d114dd22137808 (diff) | |
download | vyos-1x-eed2ba5379067ba3ef3a7b9eef72b8252958e766.tar.gz vyos-1x-eed2ba5379067ba3ef3a7b9eef72b8252958e766.zip |
Merge pull request #136 from maznu/current
[ethernet] -T1679: during bootup: invalid literal for int() with base 10
Diffstat (limited to 'python/vyos/ifconfig.py')
-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 |