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:
parent
7cce89994a
commit
8acc38283a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user