diff options
author | Vadim Yanitskiy <axilirator@gmail.com> | 2019-07-24 02:05:35 +0700 |
---|---|---|
committer | Vadim Yanitskiy <axilirator@gmail.com> | 2019-07-24 02:05:35 +0700 |
commit | 06e3b4fa54645532e0583215fb4ccebb3e5ce815 (patch) | |
tree | 4eae057b82017467c998fbd592bad15318e58f08 /src | |
parent | d0a8b49d51a7f7813d0335e15b21d20bc2c6159f (diff) |
trx_toolkit/trx_sniff.py: fix compatibility with Python 3
Change-Id: I9cd9b7baae31045c6495b90df2517d32772098ed
Diffstat (limited to 'src')
-rwxr-xr-x | src/target/trx_toolkit/trx_sniff.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/trx_toolkit/trx_sniff.py b/src/target/trx_toolkit/trx_sniff.py index add04e19..6592455a 100755 --- a/src/target/trx_toolkit/trx_sniff.py +++ b/src/target/trx_toolkit/trx_sniff.py @@ -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 |