diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-12-02 16:53:17 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 1999-12-02 16:53:17 +0000 |
commit | e1ea10f4177fcf467cf378c6c728f1389ad16380 (patch) | |
tree | abc273a38d2c22abc483cddfb47b5625f612d90e | |
parent | 9cbeac28b671a96bbe380154f6b5412521d31643 (diff) | |
download | ATCD-e1ea10f4177fcf467cf378c6c728f1389ad16380.tar.gz |
ChangeLogTag:Thu Dec 2 10:45:35 1999 Ossama Othman
<othman@cs.wustl.edu>
-rw-r--r-- | TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp index 9cbb06a2d88..707612f552a 100644 --- a/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp +++ b/TAO/orbsvcs/orbsvcs/SSLIOP/SSLIOP_Acceptor.cpp @@ -48,6 +48,8 @@ TAO_SSLIOP_Acceptor::TAO_SSLIOP_Acceptor (void) concurrency_strategy_ (0), accept_strategy_ (0) { + // Initialize the default SSL port to zero. + this->ssl_component_.port = 0; } TAO_SSLIOP_Acceptor::~TAO_SSLIOP_Acceptor (void) @@ -182,7 +184,10 @@ TAO_SSLIOP_Acceptor::open_default (TAO_ORB_Core *orb_core, // pick the "default interface" and only listen on that IP // address. - ACE_INET_Addr addr (u_short(0), this->address_.get_host_addr ()); + // this->ssl_component_.port is initialized to zero or it is set in + // this->parse_options(). + ACE_INET_Addr addr (this->ssl_component_.port, + this->address_.get_host_addr ()); return this->open_i (orb_core, addr); } |