diff options
Diffstat (limited to 'cpp/src/Ice/Network.cpp')
-rw-r--r-- | cpp/src/Ice/Network.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/Ice/Network.cpp b/cpp/src/Ice/Network.cpp index be8e03e6402..002ea18b780 100644 --- a/cpp/src/Ice/Network.cpp +++ b/cpp/src/Ice/Network.cpp @@ -323,7 +323,7 @@ getAddressImpl(const string& host, int port, struct sockaddr_storage& addr, Prot { if(host.empty()) { - rs = getaddrinfo(0, "0", &hints, &info); + rs = getaddrinfo(0, "1", &hints, &info); } else { @@ -1267,7 +1267,7 @@ IceInternal::getAddresses(const string& host, int port, ProtocolSupport protocol { if(host.empty()) { - rs = getaddrinfo(0, "0", &hints, &info); // Get the address of the loopback interface + rs = getaddrinfo(0, "1", &hints, &info); // Get the address of the loopback interface } else { |