diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-03 20:16:01 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-11-03 20:16:01 +0000 |
commit | 992e71fb1eb27d0e5b39f16328cfd34968b8d503 (patch) | |
tree | f6fbbffeddc9eff6cdd67695be0e9ccd67a413cd | |
parent | b44748355da89d82afe3d8fe5daaeec9323290a6 (diff) |
Back out previous change, the problem is Linux-specific. To quote Wietse 'On UNIX systems with a BSD TCP/IP protocol stack, the accept() call does not return until the three-way handshake completes.'
-rw-r--r-- | usr.sbin/sendmail/src/daemon.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/sendmail/src/daemon.c b/usr.sbin/sendmail/src/daemon.c index 1e1c2d308fe..dc0b5b5bd2d 100644 --- a/usr.sbin/sendmail/src/daemon.c +++ b/usr.sbin/sendmail/src/daemon.c @@ -293,8 +293,7 @@ getrequests(e) lotherend = socksize; t = accept(DaemonSocket, (struct sockaddr *)&RealHostAddr, &lotherend); - if (t >= 0 || (errno != EINTR && errno != ENETUNREACH - && errno != EHOSTUNREACH)) + if (t >= 0 || errno != EINTR) break; } savederrno = errno; |