Add avahi code to look for the rmeote control information for the client and get the port number from it.
This commit is contained in:
+7
-3
@@ -24,8 +24,8 @@
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
#include "common.h"
|
||||
#include "mdns.h"
|
||||
#include "common.h"
|
||||
#include <errno.h>
|
||||
#include <fcntl.h>
|
||||
#include <signal.h>
|
||||
@@ -161,8 +161,12 @@ static void kill_mdns_child(void) {
|
||||
|
||||
mdns_backend mdns_external_avahi = {.name = "external-avahi",
|
||||
.mdns_register = mdns_external_avahi_register,
|
||||
.mdns_unregister = kill_mdns_child};
|
||||
.mdns_unregister = kill_mdns_child,
|
||||
.mdns_dacp_monitor = NULL,
|
||||
.mdns_dacp_dont_monitor = NULL};
|
||||
|
||||
mdns_backend mdns_external_dns_sd = {.name = "external-dns-sd",
|
||||
.mdns_register = mdns_external_dns_sd_register,
|
||||
.mdns_unregister = kill_mdns_child};
|
||||
.mdns_unregister = kill_mdns_child,
|
||||
.mdns_dacp_monitor = NULL,
|
||||
.mdns_dacp_dont_monitor = NULL};
|
||||
|
||||
Reference in New Issue
Block a user