summaryrefslogtreecommitdiffstats
path: root/usr.sbin/inetd
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/inetd')
-rw-r--r--usr.sbin/inetd/inetd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 6b28764..eebcfea 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -1387,7 +1387,7 @@ setsockopt(fd, SOL_SOCKET, opt, (char *)&on, sizeof (on))
}
}
if (sep->se_socktype == SOCK_STREAM)
- listen(sep->se_fd, 64);
+ listen(sep->se_fd, -1);
enable(sep);
if (debug) {
warnx("registered %s on %d",
OpenPOWER on IntegriCloud