summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-06-19 09:33:01 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-06-19 09:33:01 +0200
commit6052709c2aea5fae70d805e6033861c24b4f2521 (patch)
treeb14542ad076c018fa2d09af0d1a69c82483a0481 /src
parent5b77a41eafe6501a3f7cc76f2c746858036aef81 (diff)
ENETDOWN is a legal error from TCP connect
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src')
-rw-r--r--src/tcp_connecter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp
index 9515f55..01d80cc 100644
--- a/src/tcp_connecter.cpp
+++ b/src/tcp_connecter.cpp
@@ -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;
}