Page MenuHomeVyOS Platform

vyos.ifconfig.get_mac() broken
Closed, ResolvedPublicBUG

Description

>>> from vyos.ifconfig import EthernetIf
>>> EthernetIf('eth0').get_mac()
>>>
>>> tmp=EthernetIf('eth0').get_mac()
>>> type(tmp)
<class 'NoneType'>

Details

Difficulty level
Easy (less than an hour)
Version
1.3-rolling-202003270650
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

c-po triaged this task as Unbreak Now! priority.
c-po created this task.

Thanks for the quick fix - I was to blind finding it on my own :/

erkin set Issue type to Bug (incorrect behavior).Aug 30 2021, 8:01 AM
erkin removed a subscriber: Active contributors.