proxy_info
Simon 4 years ago
parent df07cb7da6
commit 071b2ecda3

@ -115,8 +115,8 @@ class Proxy(DatagramProtocol):
_command = data[:4] _command = data[:4]
if _command == PRBL: if _command == PRBL:
_peer_id = data[4:7] _peer_id = data[4:8]
_bltime = data[7:].decode('UTF-8') _bltime = data[8:].decode('UTF-8')
_bltime = float(_bltime) _bltime = float(_bltime)
try: try:
self.IPBlackList[self.peerTrack[_peer_id]['shost']] = _bltime self.IPBlackList[self.peerTrack[_peer_id]['shost']] = _bltime

Loading…
Cancel
Save

Powered by TurnKey Linux.