From: Mike Brady Date: Mon, 2 May 2016 08:45:00 +0000 (+0100) Subject: Disable avahi browser function X-Git-Tag: 2.8.3.2~5 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c50af16abb8a3eb7f2ab9c1e9f8e7a08fa270db1;p=thirdparty%2Fshairport-sync.git Disable avahi browser function --- 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) {