ENETDOWN is a legal error from TCP connect

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik 2011-06-19 09:33:01 +02:00
parent 5b77a41eaf
commit 6052709c2a

View File

@ -296,7 +296,7 @@ zmq::fd_t zmq::tcp_connecter_t::connect ()
errno = err;
errno_assert (errno == ECONNREFUSED || errno == ECONNRESET ||
errno == ETIMEDOUT || errno == EHOSTUNREACH ||
errno == ENETUNREACH);
errno == ENETUNREACH || errno == ENETDOWN);
return retired_fd;
}