diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/sendmail/src/daemon.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/sendmail/src/daemon.c b/usr.sbin/sendmail/src/daemon.c index dc0b5b5bd2d..1e1c2d308fe 100644 --- a/usr.sbin/sendmail/src/daemon.c +++ b/usr.sbin/sendmail/src/daemon.c @@ -293,7 +293,8 @@ getrequests(e) lotherend = socksize; t = accept(DaemonSocket, (struct sockaddr *)&RealHostAddr, &lotherend); - if (t >= 0 || errno != EINTR) + if (t >= 0 || (errno != EINTR && errno != ENETUNREACH + && errno != EHOSTUNREACH)) break; } savederrno = errno; |