summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tcp_connecter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tcp_connecter.cpp b/src/tcp_connecter.cpp
index f00d478..01463c0 100644
--- a/src/tcp_connecter.cpp
+++ b/src/tcp_connecter.cpp
@@ -118,7 +118,8 @@ zmq::fd_t zmq::tcp_connecter_t::connect ()
// rather than 0MQ bug.
errno = err;
errno_assert (errno == WSAECONNREFUSED || errno == WSAETIMEDOUT ||
- errno == WSAECONNABORTED || errno == WSAEHOSTUNREACH);
+ errno == WSAECONNABORTED || errno == WSAEHOSTUNREACH ||
+ errno == WSAENETUNREACH);
return retired_fd;
}