mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
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:
parent
4d3df0a3c0
commit
fd5a94a32a
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user