Revert "dkjdjk"

This reverts commit 0fdfec8fc9.
debug
Simon 3 years ago
parent ae0d306c28
commit 3538196ee0

@ -278,8 +278,6 @@ class OPENBRIDGE(DatagramProtocol):
if '_bcka' in self._CONFIG['SYSTEMS'][system] and self._CONFIG['SYSTEMS'][system]['_bcka'] < time() - 60:
continue
_uid = bytes_4(randint(0x00, 0xFFFFFFFF))
#add data from this packet to our local TOPO view
self.process_bcto(self._CONFIG['GLOBAL']['SERVER_ID'],self._CONFIG['SYSTEMS'][system]['NETWORK_ID'],self._CONFIG['SYSTEMS'][system]['VER'].to_bytes(1,"big"),_hops)
_packet = b''.join([BCTO,_uid,self._CONFIG['GLOBAL']['SERVER_ID'],self._CONFIG['SYSTEMS'][system]['NETWORK_ID'],self._CONFIG['SYSTEMS'][system]['VER'].to_bytes(1,"big"),_hops])
_h = blake2b(key=self._config['PASSPHRASE'], digest_size=16)
_h.update(_packet)

Loading…
Cancel
Save

Powered by TurnKey Linux.