diff options
Diffstat (limited to 'source3/smbd')
-rw-r--r-- | source3/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c index dd3ae3a730..c30b344e45 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -739,7 +739,7 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, msg_inject_fault); #endif - if (dns_port != 0) { + if (lp_multicast_dns_register() && (dns_port != 0)) { #ifdef WITH_DNSSD_SUPPORT smbd_setup_mdns_registration(smbd_event_context(), parent, dns_port); |