diff options
author | Benoit Foucher <benoit@zeroc.com> | 2017-04-10 19:33:17 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2017-04-10 19:33:17 +0200 |
commit | 1fa97b799b91fa6b0842e3267fec3d6e3a240df5 (patch) | |
tree | 1bc3abfddbcb66b51c776da15e2d88586ca2bbf4 /cpp/src/Ice/OpaqueEndpointI.cpp | |
parent | Fix (ICE-7771) - UWP build fails, missing targets file (diff) | |
download | ice-1fa97b799b91fa6b0842e3267fec3d6e3a240df5.tar.bz2 ice-1fa97b799b91fa6b0842e3267fec3d6e3a240df5.tar.xz ice-1fa97b799b91fa6b0842e3267fec3d6e3a240df5.zip |
Fixed ICE-7755 - listen on all IPs associated with a DNS name
Diffstat (limited to 'cpp/src/Ice/OpaqueEndpointI.cpp')
-rw-r--r-- | cpp/src/Ice/OpaqueEndpointI.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/Ice/OpaqueEndpointI.cpp b/cpp/src/Ice/OpaqueEndpointI.cpp index 77da8121e7f..065af32eae9 100644 --- a/cpp/src/Ice/OpaqueEndpointI.cpp +++ b/cpp/src/Ice/OpaqueEndpointI.cpp @@ -190,7 +190,15 @@ IceInternal::OpaqueEndpointI::acceptor(const string&) const } vector<EndpointIPtr> -IceInternal::OpaqueEndpointI::expand() const +IceInternal::OpaqueEndpointI::expandIfWildcard() const +{ + vector<EndpointIPtr> endps; + endps.push_back(ICE_SHARED_FROM_CONST_THIS(OpaqueEndpointI)); + return endps; +} + +vector<EndpointIPtr> +IceInternal::OpaqueEndpointI::expandHost(EndpointIPtr&) const { vector<EndpointIPtr> endps; endps.push_back(ICE_SHARED_FROM_CONST_THIS(OpaqueEndpointI)); |