From 6052709c2aea5fae70d805e6033861c24b4f2521 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 19 Jun 2011 09:33:01 +0200 Subject: ENETDOWN is a legal error from TCP connect Signed-off-by: Martin Sustrik --- src/tcp_connecter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; } -- cgit v1.2.3