summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/RoutingTable.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/RoutingTable.cpp')
-rw-r--r--cpp/src/Ice/RoutingTable.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpp/src/Ice/RoutingTable.cpp b/cpp/src/Ice/RoutingTable.cpp
index 7e05be629c5..78c93dd31ae 100644
--- a/cpp/src/Ice/RoutingTable.cpp
+++ b/cpp/src/Ice/RoutingTable.cpp
@@ -39,7 +39,10 @@ IceInternal::RoutingTable::add(const ObjectPrx& prx)
return false;
}
- ObjectPrx proxy = prx->ice_default(); // We insert the proxy in its default form into the routing table.
+ //
+ // We insert the proxy in its default form into the routing table.
+ //
+ ObjectPrx proxy = prx->ice_twoway()->ice_secure(false);
IceUtil::Mutex::Lock sync(*this);