summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Network.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r--cpp/src/Ice/Network.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp
index 257561dcff9..3d1fddf7536 100644
--- a/cpp/src/Ice/Network.cpp
+++ b/cpp/src/Ice/Network.cpp
@@ -111,6 +111,7 @@ IceInternal::connectFailed()
return error == WSAECONNREFUSED ||
error == WSAETIMEDOUT ||
error == WSAENETUNREACH ||
+ error == WSAEHOSTUNREACH ||
error == WSAECONNRESET ||
error == WSAESHUTDOWN ||
error == WSAECONNABORTED;
@@ -118,6 +119,7 @@ IceInternal::connectFailed()
return errno == ECONNREFUSED ||
errno == ETIMEDOUT ||
errno == ENETUNREACH ||
+ errno == EHOSTUNREACH ||
errno == ECONNRESET ||
errno == ESHUTDOWN ||
errno == ECONNABORTED;