fixeria has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmocom-bb/+/14913


Change subject: trx_toolkit/trx_sniff.py: fix compatibility with Python 3
......................................................................

trx_toolkit/trx_sniff.py: fix compatibility with Python 3

Change-Id: I9cd9b7baae31045c6495b90df2517d32772098ed
---
M src/target/trx_toolkit/trx_sniff.py
1 file changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/13/14913/1

diff --git a/src/target/trx_toolkit/trx_sniff.py 
b/src/target/trx_toolkit/trx_sniff.py
index add04e1..6592455 100755
--- a/src/target/trx_toolkit/trx_sniff.py
+++ b/src/target/trx_toolkit/trx_sniff.py
@@ -83,7 +83,7 @@
                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

--
To view, visit https://gerrit.osmocom.org/c/osmocom-bb/+/14913
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: I9cd9b7baae31045c6495b90df2517d32772098ed
Gerrit-Change-Number: 14913
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <[email protected]>
Gerrit-MessageType: newchange

Reply via email to