mirror of
https://github.com/samba-team/samba.git
synced 2025-03-03 12:58:35 +03:00
r2448: use SO_REUSEADDR=1 for the server
metze (This used to be commit e20cfb705f5ba0bef095a969f097a510bf314995)
This commit is contained in:
parent
7d06a06584
commit
03cf36ac9c
@ -130,7 +130,7 @@ struct server_socket *service_setup_socket(struct server_service *service,
|
||||
}
|
||||
|
||||
/* 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)));
|
||||
|
Loading…
x
Reference in New Issue
Block a user