diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-03-28 11:08:08 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-28 11:08:08 +0100 |
commit | c423848d2e4816df598ad0269edf3da652a7c53f (patch) | |
tree | a4fda46d8ed590436c120badc101802b3f1ec6fd /python/vyos/ifconfig | |
parent | 981b5ad0fd680bad27ef6754502e58429ca0d4b0 (diff) | |
parent | 9f8ac6d0e1616b9effec2d949f4f192a461af20d (diff) | |
download | vyos-1x-c423848d2e4816df598ad0269edf3da652a7c53f.tar.gz vyos-1x-c423848d2e4816df598ad0269edf3da652a7c53f.zip |
Merge pull request #278 from thomas-mangin/T2167
ifconfig: T2167: get_mac was not returning
Diffstat (limited to 'python/vyos/ifconfig')
-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 e9c026c5f..2db5aa76f 100644 --- a/python/vyos/ifconfig/interface.py +++ b/python/vyos/ifconfig/interface.py @@ -251,7 +251,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): """ |