From cfd8fd1dcd9ab530650df02c24b6732240aacbba Mon Sep 17 00:00:00 2001 From: Simon Date: Sun, 4 Jun 2023 17:37:49 +0100 Subject: [PATCH] fklfk --- hotspot_proxy_v2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hotspot_proxy_v2.py b/hotspot_proxy_v2.py index 30234df..cf2b3ef 100644 --- a/hotspot_proxy_v2.py +++ b/hotspot_proxy_v2.py @@ -217,10 +217,10 @@ class Proxy(DatagramProtocol): self.IPBlackList[host] = _bltime if self.clientinfo: - print('(RPTL) Add to blacklist: host {}. Expire time {}'.format(self.peerTrack[_peer_id]['shost'],_bltime)) + print('(RPTL) Add to blacklist: host {}. Expire time {}'.format(host,_bltime)) if self.privHelper: - print('(RPTL) Ask priv_helper to add to iptables: host {}, port {}.'.format(self.peerTrack[_peer_id]['shost'],self.ListenPort)) - reactor.callInThread(self.privHelper.addBL,self.ListenPort,self.peerTrack[_peer_id]['shost']) + print('(RPTL) Ask priv_helper to add to iptables: host {}, port {}.'.format(host,self.ListenPort)) + reactor.callInThread(self.privHelper.addBL,self.ListenPort,host) return elif _command == RPTK: # Repeater has answered our login challenge