]> git.ipfire.org Git - thirdparty/hostap.git/commitdiff
tests: Decode brctl showmacs output for the debug log
authorJouni Malinen <jouni@codeaurora.org>
Fri, 15 Mar 2019 21:53:27 +0000 (23:53 +0200)
committerJouni Malinen <j@w1.fi>
Fri, 15 Mar 2019 21:57:44 +0000 (23:57 +0200)
This is needed with python3 to make the debug log more readable.

Signed-off-by: Jouni Malinen <jouni@codeaurora.org>
tests/hwsim/test_ap_hs20.py

index 6afec8f84563f0799cc380bf2cba6979dba2081a..af33c34627dc9e0091ceb32f374da8d902d27e22 100644 (file)
@@ -4572,7 +4572,7 @@ def get_bridge_macs(ifname):
                            stdout=subprocess.PIPE)
     res = cmd.stdout.read()
     cmd.stdout.close()
-    return res
+    return res.decode()
 
 def tshark_get_arp(cap, filter):
     res = run_tshark(cap, filter,