trx_toolkit/trx_sniff.py: fix compatibility with Python 3

Change-Id: I9cd9b7baae31045c6495b90df2517d32772098ed
This commit is contained in:
Vadim Yanitskiy 2019-07-24 02:05:35 +07:00
parent d0a8b49d51
commit 06e3b4fa54
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ class Application(ApplicationBase):
trx = udp.payload
# Convert to bytearray
msg_raw = bytearray(str(trx))
msg_raw = bytearray(trx.load)
# Determine a burst direction (L1 <-> TRX)
l12trx = udp.sport > udp.dport