From b587c92431eeb5b4d89acc238cd061693aea08db Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Sat, 24 May 2014 14:58:49 -0500 Subject: [PATCH] Fixed MASTER_REG_REPLY_PKT was all messed up, but somehow worked too much of the time anyway! --- dmrlink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dmrlink.py b/dmrlink.py index 5887bfc..00b6854 100755 --- a/dmrlink.py +++ b/dmrlink.py @@ -1143,7 +1143,7 @@ class IPSC(DatagramProtocol): _decoded_mode = process_mode_byte(_hex_mode) _decoded_flags = process_flags_bytes(_hex_flags) - self.MASTER_REG_REPLY_PKT = (MASTER_REG_REPLY + self._local_id + self.TS_FLAGS + hex_str_2(self._local['NUM_PEERS']) + IPSC_VER + self.MASTER_REG_REPLY_PKT = (MASTER_REG_REPLY + self._local_id + self.TS_FLAGS + hex_str_2(self._local['NUM_PEERS']) + IPSC_VER) master_reg_reply_packet = self.hashed_packet(self._local['AUTH_KEY'], self.MASTER_REG_REPLY_PKT) self.transport.write(master_reg_reply_packet, (host, port))