trx_toolkit/trx_sniff.py: fix compatibility with Python 3
Change-Id: I9cd9b7baae31045c6495b90df2517d32772098ed
This commit is contained in:
parent
d0a8b49d51
commit
06e3b4fa54
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue