From: Volker Lendecke Date: Sat, 6 Jun 2009 19:43:53 +0000 (+0200) Subject: Fix bug 6441 -- fix the compile with --enable-dnssd X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8b8336a115b73eb99cd1f9a8d1286df713ec53c3;p=thirdparty%2Fsamba.git Fix bug 6441 -- fix the compile with --enable-dnssd The server side of dnssd has been replaced with native avahi support. The code is only left in in case some OS/X fan wants to revive it, and the client-side has not been converted yet. Fix the build of the server side by removing the #ifdef --- diff --git a/source/smbd/server.c b/source/smbd/server.c index b05758ea4eb..2415aebabc3 100644 --- a/source/smbd/server.c +++ b/source/smbd/server.c @@ -590,10 +590,6 @@ static bool open_sockets_smbd(bool is_daemon, bool interactive, const char *smb_ /* Kick off our mDNS registration. */ if (dns_port != 0) { -#ifdef WITH_DNSSD_SUPPORT - dns_register_smbd(&dns_reg, dns_port, &maxfd, - &r_fds, &idle_timeout); -#endif #ifdef WITH_AVAHI_SUPPORT void *avahi_conn; avahi_conn = avahi_start_register(