From 2635046aad8ba0894a49afe73d7ee6ff7a8aab41 Mon Sep 17 00:00:00 2001 From: Cort Buffington Date: Mon, 27 Jul 2015 17:13:41 -0500 Subject: [PATCH] logging bug: Unknown IPSC Type MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The packet type’s numeric value was reported wrong in log messages for unknown types. --- dmrlink.py | 1 - 1 file changed, 1 deletion(-) diff --git a/dmrlink.py b/dmrlink.py index 52d01c7..a1cafeb 100755 --- a/dmrlink.py +++ b/dmrlink.py @@ -750,7 +750,6 @@ class IPSC(DatagramProtocol): logger.debug('(%s) Private Data Packet Received From: %s, IPSC Peer %s, Destination %s', _network, int_id(_src_sub), int_id(_peerid), int_id(_dst_sub)) def unknown_message(self, _network, _packettype, _peerid, _data): - _packettype = h(_packettype) logger.error('(%s) Unknown Message - Type: %s From: %s Packet: %s', _network, h(_packettype), int_id(_peerid), h(_data))