diff options
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c index ae1566b5ac..65ead2f4ce 100644 --- a/source4/smbd/server.c +++ b/source4/smbd/server.c @@ -63,7 +63,7 @@ static void add_socket(struct event_context *events, set_socket_options(fde.fd, "SO_KEEPALIVE"); set_socket_options(fde.fd, lp_socket_options()); - if (listen(fde.fd, 10) == -1) { + if (listen(fde.fd, SMBD_LISTEN_BACKLOG) == -1) { DEBUG(0,("Failed to listen on %s:%d - %s\n", inet_ntoa(*ifip), port, strerror(errno))); close(fde.fd); |