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 <jouni@codeaurora.org>
This commit is contained in:
Jouni Malinen 2019-03-15 23:53:27 +02:00 committed by Jouni Malinen
parent 649038e117
commit 39139d7ead

View 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,