From a0621985f6f750220f981b4d90e8a61700e4bcfd Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 13 Feb 2022 02:47:49 +0000 Subject: [PATCH] Prepare for 4 --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index 17d38c3..5494a93 100755 --- a/hblink.py +++ b/hblink.py @@ -156,7 +156,7 @@ class OPENBRIDGE(DatagramProtocol): if _packet[:3] == DMR and self._config['TARGET_IP']: - if 'VER' in self._config and self._config['VER'] == 3: + if 'VER' in self._config and self._config['VER'] > 2: _packet = b''.join([DMRF,_packet[4:11], self._CONFIG['GLOBAL']['SERVER_ID'],_packet[15:]]) _h = blake2b(key=self._config['PASSPHRASE'], digest_size=16) _h.update(_packet)