Sleep for a second after tcp wrappers rejects a connection, so we

don't traumatise the parent inetd.

Requested by:	wietse@porcupine.org
Approved by:	markm
This commit is contained in:
David Malone 2000-07-31 13:10:52 +00:00
parent 7cce89994a
commit 8acc38283a

View File

@ -663,8 +663,10 @@ main(argc, argv, envp)
eval_client(&req), service, sep->se_proto);
if (sep->se_socktype != SOCK_STREAM)
recv(ctrl, buf, sizeof (buf), 0);
if (dofork)
if (dofork) {
sleep(1);
_exit(0);
}
}
if (log) {
syslog(allow_severity,