made lan port identification faster
This commit is contained in:
parent
1e76990d1e
commit
5b9bb2e5e2
@ -37,7 +37,7 @@ def _lan_work(peer: LANIP):
|
|||||||
break
|
break
|
||||||
if identified_port.port != 0:
|
if identified_port.port != 0:
|
||||||
break
|
break
|
||||||
if requests.get(f'http://{peer}/:{i}/ping') == 'pong!':
|
if requests.get(f'http://{peer}:{i}/ping') == 'pong!':
|
||||||
identified_port.port = i
|
identified_port.port = i
|
||||||
break
|
break
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user