summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Connection_Handler.cpp
diff options
context:
space:
mode:
authorcleeland <cleeland@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-27 22:15:46 +0000
committercleeland <cleeland@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2005-05-27 22:15:46 +0000
commit975af3ce151f6952de951f9477a29b756cc657cc (patch)
tree3a1431ffa912637b2a9222a856411071ad5de759 /TAO/tao/IIOP_Connection_Handler.cpp
parent0be8f54fe79e1f08fb3555ecb9e1598aa2891e80 (diff)
downloadATCD-975af3ce151f6952de951f9477a29b756cc657cc.tar.gz
ChangelogTag: Fri May 27 17:01:24 2005 Chris Cleeland <cleeland_c@ociweb.com>
Fix bidir GIOP and -ORBDottedDecimalAddresses; fix hostname_in_ior rules.
Diffstat (limited to 'TAO/tao/IIOP_Connection_Handler.cpp')
-rw-r--r--TAO/tao/IIOP_Connection_Handler.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/tao/IIOP_Connection_Handler.cpp b/TAO/tao/IIOP_Connection_Handler.cpp
index ed6e0d1d808..383f69f55d5 100644
--- a/TAO/tao/IIOP_Connection_Handler.cpp
+++ b/TAO/tao/IIOP_Connection_Handler.cpp
@@ -333,9 +333,12 @@ TAO_IIOP_Connection_Handler::process_listen_point_list (
ACE_TEXT_CHAR_TO_TCHAR(listen_point.host.in ())));
}
- // Construct an IIOP_Endpoint object
- TAO_IIOP_Endpoint endpoint (addr,
- this->orb_core()->orb_params()->use_dotted_decimal_addresses ());
+ // Construct an IIOP_Endpoint object using the host as provided
+ // in the listen point list. We must use host in that form because
+ // that's also how the ORB on the other side will advertise the host
+ // in an IOR.
+ TAO_IIOP_Endpoint endpoint (listen_point.host.in (),
+ listen_point.port, addr);
// Construct a property object
TAO_Base_Transport_Property prop (&endpoint);