summaryrefslogtreecommitdiff
path: root/TAO/tao/IIOP_Acceptor.i
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/IIOP_Acceptor.i')
-rw-r--r--TAO/tao/IIOP_Acceptor.i9
1 files changed, 8 insertions, 1 deletions
diff --git a/TAO/tao/IIOP_Acceptor.i b/TAO/tao/IIOP_Acceptor.i
index 28e5f46ce72..f7c171d6e5e 100644
--- a/TAO/tao/IIOP_Acceptor.i
+++ b/TAO/tao/IIOP_Acceptor.i
@@ -4,5 +4,12 @@
ACE_INLINE const ACE_INET_Addr&
TAO_IIOP_Acceptor::address (void) const
{
- return this->address_;
+ ACE_ASSERT (this->addrs_ != 0);
+
+ // @@ This is busted.
+ // The Implementation Repository will have to start supporting
+ // IORs with multiple profiles. For now, we just return the
+ // first addr.
+ // -Ossama
+ return this->addrs_[0];
}