]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Fix bug 6441 -- fix the compile with --enable-dnssd
authorVolker Lendecke <vl@samba.org>
Sat, 6 Jun 2009 19:43:53 +0000 (21:43 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 8 Jun 2009 08:06:19 +0000 (10:06 +0200)
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

source/smbd/server.c

index b05758ea4ebba1b5b70f36fda4b2778a75864948..2415aebabc3226b279899b0839e3562442605bef 100644 (file)
@@ -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(