From d40742bc08052b7fedc46c02227ef365497c6e60 Mon Sep 17 00:00:00 2001 From: DJ2LS Date: Thu, 24 Aug 2023 07:50:44 +0200 Subject: [PATCH] fixed handling hmac bool for network message --- tnc/data_handler.py | 3 +++ tnc/static.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/tnc/data_handler.py b/tnc/data_handler.py index 4d2b8c06..4d33f80a 100644 --- a/tnc/data_handler.py +++ b/tnc/data_handler.py @@ -1043,6 +1043,9 @@ class DATA: """ # transmittion duration + + signed = "True" if signed else "False" + duration = time.time() - self.rx_start_of_transmission self.calculate_transfer_rate_rx( self.rx_start_of_transmission, len(ARQ.rx_frame_buffer) diff --git a/tnc/static.py b/tnc/static.py index efccccf4..ec1efceb 100644 --- a/tnc/static.py +++ b/tnc/static.py @@ -129,7 +129,7 @@ class TCIParam: @dataclass class TNC: - version = "0.10.3-alpha.1-hmac-exp1" + version = "0.10.3-alpha.1-hmac-exp2" host: str = "0.0.0.0" port: int = 3000 SOCKET_TIMEOUT: int = 1 # seconds