fix(mdns): do not start mdns until network is up

This commit is contained in:
Siyuan Miao 2025-04-15 02:41:21 +02:00
parent d5950f1485
commit 3d84008217
1 changed files with 1 additions and 5 deletions

View File

@ -22,11 +22,7 @@ func initMdns() error {
return err
}
err = m.Start()
if err != nil {
return err
}
// do not start the server yet, as we need to wait for the network state to be set
mDNS = m
return nil