add missing ENABLE_MDNS in hyperiond.cpp (#1711)

build with out MDNS does not work:

```
hyperion.ng-git/src/hyperion.ng/src/hyperiond/hyperiond.cpp:298:9: error: ‘_mDNSProvider’ was not declared in this scope; did you mean ‘RRProvider’?
  298 |         _mDNSProvider->thread()->start();
```
This commit is contained in:
Markus 2024-03-03 21:33:52 +01:00 committed by GitHub
parent 4d3df0a3c0
commit fd5a94a32a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions

View File

@ -294,8 +294,9 @@ void HyperionDaemon::startNetworkServices()
_jsonServer->thread()->start();
_webserver->thread()->start();
_sslWebserver->thread()->start();
#if defined(ENABLE_MDNS)
_mDNSProvider->thread()->start();
#endif
_ssdp->thread()->start();
#if defined(ENABLE_FLATBUF_SERVER)
@ -314,8 +315,9 @@ void HyperionDaemon::stopNetworkServices()
#if defined(ENABLE_FLATBUF_SERVER)
_flatBufferServer.reset(nullptr);
#endif
#if defined(ENABLE_MDNS)
_mDNSProvider.reset(nullptr);
#endif
_ssdp.reset(nullptr);
_sslWebserver.reset(nullptr);