Skip to content

Commit

Permalink
If MDMServer is available and port in mDNS response is None, keep lis…
Browse files Browse the repository at this point in the history
…tening for mDNS responses

-SECO-7799
  • Loading branch information
johan-juntunen committed Oct 1, 2024
1 parent 23fd965 commit f34c78c
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ def __on_service_state_change(
"ipv6_addresses": info._ipv6_addresses,
"port": info.port,"status": service_available}

if service_available and info.port == None:
self.__logger.error("Service is available but port in mDNS response is None, will keep listening for more packets")
return

self.service_callback(**kwargs)


Expand Down

0 comments on commit f34c78c

Please sign in to comment.