Prepare for 4

ta
Simon 4 years ago
parent 5312c8cc8e
commit a0621985f6

@ -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)

Loading…
Cancel
Save

Powered by TurnKey Linux.