From ef89f0ad3fd1d457bd5e140d09fb7e8c40601cd6 Mon Sep 17 00:00:00 2001 From: Simon Date: Wed, 19 Jan 2022 00:06:27 +0000 Subject: [PATCH] dd --- hblink.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hblink.py b/hblink.py index 7778b81..addfbfa 100755 --- a/hblink.py +++ b/hblink.py @@ -301,7 +301,7 @@ class OPENBRIDGE(DatagramProtocol): _ckhs = _h.digest() if compare_digest(_hash, _ckhs) and (_sockaddr == self._config['TARGET_SOCK'] or self._config['RELAX_CHECKS']): - _peer_id = _data[11:15] + _peer_id = _data[19:23] if self._config['NETWORK_ID'] != _peer_id: logger.error('(%s) OpenBridge packet discarded because NETWORK_ID: %s Does not match sent Peer ID: %s', self._system, int_id(self._config['NETWORK_ID']), int_id(_peer_id)) return