summaryrefslogtreecommitdiffstats
path: root/src/target/trx_toolkit/data_if.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/trx_toolkit/data_if.py')
-rw-r--r--src/target/trx_toolkit/data_if.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/target/trx_toolkit/data_if.py b/src/target/trx_toolkit/data_if.py
index a773c04..b1ba1e5 100644
--- a/src/target/trx_toolkit/data_if.py
+++ b/src/target/trx_toolkit/data_if.py
@@ -28,6 +28,10 @@ from udp_link import UDPLink
from data_msg import *
class DATAInterface(UDPLink):
+ def __init__(self, *udp_link_args):
+ UDPLink.__init__(self, *udp_link_args)
+ log.debug("Init DATA interface (%s)" % self.desc_link())
+
def recv_raw_data(self):
data, _ = self.sock.recvfrom(512)
return data