summaryrefslogtreecommitdiffstats
path: root/test/util.py
diff options
context:
space:
mode:
authorOle Troan <ot@cisco.com>2019-10-15 19:31:55 +0200
committerNeale Ranns <nranns@cisco.com>2019-10-16 15:00:45 +0000
commit6ed154f779c765f38b61ed84349bd539287dd02b (patch)
tree94821fb30d58ee909528bd3fecdd5c3e1dd1461c /test/util.py
parentd6df3acf5cf31b603241574cadbf9863e27b2d60 (diff)
tests: cli wrapper should return string
Python3 fixes. Type: fix Signed-off-by: Ole Troan <ot@cisco.com> Change-Id: I648b2142d45dfab9146a02eeb1b12de11103ff9f Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'test/util.py')
-rw-r--r--test/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/util.py b/test/util.py
index 96d3c6068ef..ed6c40959f1 100644
--- a/test/util.py
+++ b/test/util.py
@@ -58,7 +58,7 @@ def ip4n_range(ip4n, s, e):
# wrapper around scapy library function.
def mk_ll_addr(mac):
- euid = in6_mactoifaceid(mac)
+ euid = in6_mactoifaceid(str(mac))
addr = "fe80::" + euid
return addr