ta
Simon 4 years ago
parent 9318d72de7
commit e0aceca7e4

@ -330,6 +330,8 @@ class OPENBRIDGE(DatagramProtocol):
_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]
if self._config['NETWORK_ID'] != _peer_id:

Loading…
Cancel
Save

Powered by TurnKey Linux.