summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/EC_MT_Mcast/MCast.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/EC_MT_Mcast/MCast.cpp')
-rw-r--r--TAO/orbsvcs/tests/EC_MT_Mcast/MCast.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/EC_MT_Mcast/MCast.cpp b/TAO/orbsvcs/tests/EC_MT_Mcast/MCast.cpp
index 3a5e7cc76f1..826de5e8304 100644
--- a/TAO/orbsvcs/tests/EC_MT_Mcast/MCast.cpp
+++ b/TAO/orbsvcs/tests/EC_MT_Mcast/MCast.cpp
@@ -168,7 +168,8 @@ main (int argc, char* argv[])
ACE_NEW_RETURN (endpointptr, TAO_ECG_UDP_Out_Endpoint, 0);
TAO_ECG_Refcounted_Endpoint endpoint (endpointptr);
- if (endpoint->dgram ().open (ACE_Addr::sap_any) == -1)
+ if (endpoint->dgram ().open (ACE_Addr::sap_any,
+ udp_addr.get_type()) == -1)
{
ACE_ERROR_RETURN ((LM_ERROR, "Cannot open send endpoint\n"),
1);