[mdns] Avoid miserably failing if another service exists on the network

also, service names do not clash anymore accross same device but different interfaces
This commit is contained in:
tituspijean 2021-09-20 22:07:45 +02:00
parent d4395f2b4a
commit 358885dc62
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -92,7 +92,7 @@ def main() -> bool:
print("Registering...")
for zc, infos in zcs.items():
for info in infos:
zc.register_service(info)
zc.register_service(info, allow_name_change=True, cooperating_responders=True)
try:
print("Registered. Press Ctrl+C or stop service to stop.")