From e0aceca7e486b52357a957aa14837b7e59697a17 Mon Sep 17 00:00:00 2001 From: Simon Date: Fri, 4 Feb 2022 23:46:10 +0000 Subject: [PATCH] int_dst_id --- hblink.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hblink.py b/hblink.py index 471cb0e..2d189e5 100755 --- a/hblink.py +++ b/hblink.py @@ -329,6 +329,8 @@ class OPENBRIDGE(DatagramProtocol): _h = blake2b(key=self._config['PASSPHRASE'], digest_size=16) _h.update(_packet[:61]) _ckhs = _h.digest() + + _int_dst_id = int_id(_dst_id) if compare_digest(_hash, _ckhs) and (_sockaddr == self._config['TARGET_SOCK'] or self._config['RELAX_CHECKS']): _peer_id = _data[11:15]