diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-03-28 10:03:48 +0000 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-03-28 10:03:48 +0000 |
commit | 9f8ac6d0e1616b9effec2d949f4f192a461af20d (patch) | |
tree | 66db275eb1ce63df19900806e9092d03877bfb30 | |
parent | 583e9d907236a4a98fe40e97a378c1fb655f8a95 (diff) | |
download | vyos-1x-9f8ac6d0e1616b9effec2d949f4f192a461af20d.tar.gz vyos-1x-9f8ac6d0e1616b9effec2d949f4f192a461af20d.zip |
ifconfig: T2167: get_mac was not returning
-rw-r--r-- | python/vyos/ifconfig/interface.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/vyos/ifconfig/interface.py b/python/vyos/ifconfig/interface.py index f2b43fd35..4170b79c8 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -249,7 +249,7 @@ class Interface(DHCP): >>> Interface('eth0').get_mac() '00:50:ab:cd:ef:00' """ - self.get_interface('mac') + return self.get_interface('mac') def set_mac(self, mac): """ |