summaryrefslogtreecommitdiff
path: root/cpp/src/Glacier2Lib/SessionHelper.cpp
diff options
context:
space:
mode:
authorJose <jose@zeroc.com>2014-12-15 16:29:45 +0100
committerJose <jose@zeroc.com>2014-12-15 16:29:45 +0100
commit46fb5ce4d7115bbdebd938cedb0481d23c5572ea (patch)
treecadff301f7e4ffd9b842f87991e9563a3ab0e066 /cpp/src/Glacier2Lib/SessionHelper.cpp
parentFix: Missing quotes in endpoints (diff)
downloadice-46fb5ce4d7115bbdebd938cedb0481d23c5572ea.tar.bz2
ice-46fb5ce4d7115bbdebd938cedb0481d23c5572ea.tar.xz
ice-46fb5ce4d7115bbdebd938cedb0481d23c5572ea.zip
Fixed (ICE-6179) - SessionHelper classes create bogus endpoint when use ipv6 address
Diffstat (limited to 'cpp/src/Glacier2Lib/SessionHelper.cpp')
-rw-r--r--cpp/src/Glacier2Lib/SessionHelper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Glacier2Lib/SessionHelper.cpp b/cpp/src/Glacier2Lib/SessionHelper.cpp
index 0e75b6b2136..b75ba28cc97 100644
--- a/cpp/src/Glacier2Lib/SessionHelper.cpp
+++ b/cpp/src/Glacier2Lib/SessionHelper.cpp
@@ -1023,7 +1023,7 @@ Glacier2::SessionFactoryHelper::createProxyStr(const Ice::Identity& ident)
{
os << ident.category << "/";
}
- os << ident.name << "\":" << _protocol << " -p " << getPortInternal() << " -h " << _routerHost;
+ os << ident.name << "\":" << _protocol << " -p " << getPortInternal() << " -h \"" << _routerHost << "\"";
if(_timeout > 0)
{
os << " -t " << _timeout;