diff options
author | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-03-08 20:09:54 +0000 |
---|---|---|
committer | schmidt <douglascraigschmidt@users.noreply.github.com> | 1997-03-08 20:09:54 +0000 |
commit | 1ed8638a775eb1eb44c7821367e7f5d7b8ba4602 (patch) | |
tree | 92abd17366f8b17dd531c16d4ec00a3da4913649 /ace/SOCK_Dgram_Mcast.cpp | |
parent | aa9ee9df8307f65a53f4a51b2aca88ead8539232 (diff) | |
download | ATCD-1ed8638a775eb1eb44c7821367e7f5d7b8ba4602.tar.gz |
foo
Diffstat (limited to 'ace/SOCK_Dgram_Mcast.cpp')
-rw-r--r-- | ace/SOCK_Dgram_Mcast.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ace/SOCK_Dgram_Mcast.cpp b/ace/SOCK_Dgram_Mcast.cpp index 08967825525..2950fbcd565 100644 --- a/ace/SOCK_Dgram_Mcast.cpp +++ b/ace/SOCK_Dgram_Mcast.cpp @@ -91,7 +91,7 @@ ACE_SOCK_Dgram_Mcast::make_multicast_address (const ACE_INET_Addr &mcast_addr, ACE_OS::strcpy (if_address.ifr_name, net_if); - if (ACE_OS::ioctl (this->get_handle (), SIOCGIFADDR, &if_address) < 0) + if (ACE_OS::ioctl (this->get_handle (), SIOCGIFADDR, &if_address) == -1) return -1; struct sockaddr_in *socket_address; @@ -100,9 +100,9 @@ ACE_SOCK_Dgram_Mcast::make_multicast_address (const ACE_INET_Addr &mcast_addr, } else #else - ACE_UNUSED_ARG(net_if); + ACE_UNUSED_ARG (net_if); #endif /* ACE_WIN32 */ - multicast_address_.imr_interface.s_addr = INADDR_ANY; + multicast_address_.imr_interface.s_addr = INADDR_ANY; multicast_address_.imr_multiaddr.s_addr = htonl (mcast_addr.get_ip_address ()); // multicast_address_.imr_multiaddr.s_addr = mcast_addr.get_ip_address (); |