summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2020-03-28 11:08:08 +0100
committerGitHub <noreply@github.com>2020-03-28 11:08:08 +0100
commitc423848d2e4816df598ad0269edf3da652a7c53f (patch)
treea4fda46d8ed590436c120badc101802b3f1ec6fd /python
parent981b5ad0fd680bad27ef6754502e58429ca0d4b0 (diff)
parent9f8ac6d0e1616b9effec2d949f4f192a461af20d (diff)
downloadvyos-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')
-rw-r--r--python/vyos/ifconfig/interface.py2
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):
"""