fix mdns on windows

This commit is contained in:
ed
2022-12-03 13:31:00 +00:00
parent 2fbdc0a85e
commit 99efc290df
12 changed files with 90 additions and 198 deletions

View File

@@ -38,6 +38,7 @@ from .util import (
Garda,
Magician,
NetMap,
Netdev,
ipnorm,
min_ex,
shut_socket,
@@ -140,7 +141,7 @@ class HttpSrv(object):
except:
pass
def set_netdevs(self, netdevs: dict[str, str]) -> None:
def set_netdevs(self, netdevs: dict[str, Netdev]) -> None:
self.nm = NetMap([self.ip], netdevs)
def start_threads(self, n: int) -> None: