git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31d45ea
)
Second part of fix for bug 6696 - smbd 3.3.7 crashes (signal 11) in dns_register_smbd...
author
Jeremy Allison
<jra@samba.org>
Wed, 9 Sep 2009 00:22:39 +0000
(17:22 -0700)
committer
Karolin Seeger
<kseeger@samba.org>
Wed, 13 Jan 2010 13:01:06 +0000
(14:01 +0100)
(cherry picked from commit
b87c794f99d7909e907b1d115c317bebd55984ed
)
source/smbd/server.c
patch
|
blob
|
history
diff --git
a/source/smbd/server.c
b/source/smbd/server.c
index e0f86a6b7ca1cc1a1d8fed27538cdd3f47385cf7..5129484730708bb569cf12c54370822f478f6ca8 100644
(file)
--- a/
source/smbd/server.c
+++ b/
source/smbd/server.c
@@
-652,6
+652,12
@@
static bool open_sockets_smbd(bool is_daemon, bool interactive, const char *smb_
FD_ZERO(&w_fds);
GetTimeOfDay(&now);
+ /* Kick off our mDNS registration. */
+ if (dns_port != 0) {
+ dns_register_smbd(&dns_reg, dns_port, &maxfd,
+ &r_fds, &idle_timeout);
+ }
+
event_add_to_select_args(smbd_event_context(), &now,
&r_fds, &w_fds, &idle_timeout,
&maxfd);