Only send 20002 discovery request with key included (#1207)

This commit is contained in:
Steven B.
2024-10-29 16:21:24 +00:00
committed by GitHub
parent b82743a5de
commit 6d8dc1cc5f
2 changed files with 3 additions and 5 deletions

View File

@@ -276,7 +276,6 @@ class _DiscoverProtocol(asyncio.DatagramProtocol):
if self.target in self.seen_hosts: # Stop sending for discover_single
break
self.transport.sendto(encrypted_req[4:], self.target_1) # type: ignore
self.transport.sendto(Discover.DISCOVERY_QUERY_2, self.target_2) # type: ignore
self.transport.sendto(aes_discovery_query, self.target_2) # type: ignore
await asyncio.sleep(sleep_between_packets)