diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Event/UDP/sender.cpp')
-rw-r--r-- | TAO/orbsvcs/tests/Event/UDP/sender.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/orbsvcs/tests/Event/UDP/sender.cpp b/TAO/orbsvcs/tests/Event/UDP/sender.cpp index 73b0b9d8fcc..a00d089d570 100644 --- a/TAO/orbsvcs/tests/Event/UDP/sender.cpp +++ b/TAO/orbsvcs/tests/Event/UDP/sender.cpp @@ -135,7 +135,8 @@ main (int argc, char* argv[]) // We need a local socket to send the data, open it and check // that everything is OK: TAO_ECG_Refcounted_Endpoint endpoint(new TAO_ECG_UDP_Out_Endpoint); - 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); |