From: Jouni Malinen Date: Fri, 15 Mar 2019 21:53:27 +0000 (+0200) Subject: tests: Decode brctl showmacs output for the debug log X-Git-Tag: hostap_2_8~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39139d7ead597b7e2e1b51236c79c4dcce8c8059;p=thirdparty%2Fhostap.git tests: Decode brctl showmacs output for the debug log This is needed with python3 to make the debug log more readable. Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/test_ap_hs20.py b/tests/hwsim/test_ap_hs20.py index 6afec8f84..af33c3462 100644 --- a/tests/hwsim/test_ap_hs20.py +++ b/tests/hwsim/test_ap_hs20.py @@ -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,