summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-09-15 14:26:31 +0200
committerChristian Poessinger <christian@poessinger.com>2019-09-20 21:28:53 +0200
commit822976ac1c6972da38c7cb47dfdfdcee75a68457 (patch)
tree60d7518bf600984ba3126d1a876d78439efdbf1b
parent1978abbe9d35571bbf57695f04f4a89550a35b1f (diff)
downloadvyos-1x-822976ac1c6972da38c7cb47dfdfdcee75a68457.tar.gz
vyos-1x-822976ac1c6972da38c7cb47dfdfdcee75a68457.zip
Python/ifconfig: T1557: return stdout string for _cmd()
-rw-r--r--python/vyos/ifconfig.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/python/vyos/ifconfig.py b/python/vyos/ifconfig.py
index de53f8b25..fe3cd20ef 100644
--- a/python/vyos/ifconfig.py
+++ b/python/vyos/ifconfig.py
@@ -91,6 +91,7 @@ class Interface:
self._debug_msg("returned:\n{}".format(tmp.decode()))
# do we need some error checking code here?
+ return tmp
def _read_sysfs(self, filename):
"""