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:
parent
649038e117
commit
39139d7ead
1 changed files with 1 additions and 1 deletions
|
@ -4572,7 +4572,7 @@ def get_bridge_macs(ifname):
|
||||||
stdout=subprocess.PIPE)
|
stdout=subprocess.PIPE)
|
||||||
res = cmd.stdout.read()
|
res = cmd.stdout.read()
|
||||||
cmd.stdout.close()
|
cmd.stdout.close()
|
||||||
return res
|
return res.decode()
|
||||||
|
|
||||||
def tshark_get_arp(cap, filter):
|
def tshark_get_arp(cap, filter):
|
||||||
res = run_tshark(cap, filter,
|
res = run_tshark(cap, filter,
|
||||||
|
|
Loading…
Reference in a new issue