The Samba-Bugzilla – Attachment 6363 Details for
Bug 8047
[PATCH] mdns registration doesn't work if "interfaces" is used in smb.conf
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-s3-Fix-Bug-8047-Fix-mdns-registration-if-interfaces-.patch (text/plain), 807 bytes, created by
Volker Lendecke
on 2011-04-01 20:33:56 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Volker Lendecke
Created:
2011-04-01 20:33:56 UTC
Size:
807 bytes
patch
obsolete
>From 1904c7566da7c7d377d1f33e57bfc290c230373a Mon Sep 17 00:00:00 2001 >From: Marc A. Dahlhaus <mad@wol.de> >Date: Fri, 1 Apr 2011 22:24:56 +0200 >Subject: [PATCH] s3: Fix Bug 8047 -- Fix mdns registration if "interfaces=" is used > >--- > source3/smbd/server.c | 7 +++++++ > 1 files changed, 7 insertions(+), 0 deletions(-) > >diff --git a/source3/smbd/server.c b/source3/smbd/server.c >index 0c59135..8c0fa80 100644 >--- a/source3/smbd/server.c >+++ b/source3/smbd/server.c >@@ -600,6 +600,13 @@ static bool open_sockets_smbd(struct smbd_parent_context *parent, > continue; > } > >+ /* Keep the first port for mDNS service >+ * registration. >+ */ >+ if (dns_port == 0) { >+ dns_port = port; >+ } >+ > if (!smbd_open_one_socket(parent, ifss, port)) { > return false; > } >-- >1.7.3.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 8047
:
6356
| 6363