svn commit: samba r2448 - in branches/SAMBA_4_0/source/smbd: .
metze at samba.org
metze at samba.org
Mon Sep 20 12:40:12 GMT 2004
Author: metze
Date: 2004-09-20 12:40:11 +0000 (Mon, 20 Sep 2004)
New Revision: 2448
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/smbd&rev=2448&nolog=1
Log:
use SO_REUSEADDR=1 for the server
metze
Modified:
branches/SAMBA_4_0/source/smbd/service.c
Changeset:
Modified: branches/SAMBA_4_0/source/smbd/service.c
===================================================================
--- branches/SAMBA_4_0/source/smbd/service.c 2004-09-20 12:31:07 UTC (rev 2447)
+++ branches/SAMBA_4_0/source/smbd/service.c 2004-09-20 12:40:11 UTC (rev 2448)
@@ -130,7 +130,7 @@
}
/* ready to listen */
- status = socket_set_option(socket_ctx, "SO_KEEPALIVE", NULL);
+ status = socket_set_option(socket_ctx, "SO_KEEPALIVE SO_REUSEADDR=1", NULL);
if (!NT_STATUS_IS_OK(status)) {
DEBUG(0,("socket_set_option(socket_ctx, SO_KEEPALIVE, NULL): %s\n",
nt_errstr(status)));
More information about the samba-cvs
mailing list