From c50af16abb8a3eb7f2ab9c1e9f8e7a08fa270db1 Mon Sep 17 00:00:00 2001 From: Mike Brady Date: Mon, 2 May 2016 09:45:00 +0100 Subject: [PATCH] Disable avahi browser function --- mdns_avahi.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/mdns_avahi.c b/mdns_avahi.c index 8efc6207..065322d7 100644 --- a/mdns_avahi.c +++ b/mdns_avahi.c @@ -287,11 +287,11 @@ static int avahi_register(char *srvname, int srvport) { return -1; } - // we need this to detect the IPv6 number we're advertising... - if (!(sb = avahi_service_browser_new(client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, config.regtype, NULL, 0, browse_callback, client))) { - warn("Failed to create service browser: %s\n", avahi_strerror(avahi_client_errno(client))); - return -1; - } + // we need this to detect the IPv6 number we're advertising... + // if (!(sb = avahi_service_browser_new(client, AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, config.regtype, NULL, 0, browse_callback, client))) { + // warn("Failed to create service browser: %s\n", avahi_strerror(avahi_client_errno(client))); + // return -1; + // } if (avahi_threaded_poll_start(tpoll) < 0) {