diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java | 11 |
2 files changed, 3 insertions, 10 deletions
diff --git a/.travis.yml b/.travis.yml index 8af6993637d..12871c663b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ install: before_script: - make -j3 script: -- python allTests.py --debug --env --protocol=ssl --rfilter='java/test/Ice/udp' +- python allTests.py --debug --env --protocol=ssl notifications: email: travis-ci@zeroc.com slack: diff --git a/java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java b/java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java index 5a3083af9e5..5ecac1b716a 100644 --- a/java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java +++ b/java/src/Ice/src/main/java/IceInternal/UdpTransceiver.java @@ -555,11 +555,6 @@ final class UdpTransceiver implements Transceiver java.util.Collections.list(java.net.NetworkInterface.getNetworkInterfaces()); for(java.net.NetworkInterface iface : interfaces) { - if(!iface.supportsMulticast()) - { - continue; - } - boolean hasProtocolAddress = false; java.util.List<java.net.InetAddress> addresses = java.util.Collections.list(iface.getInetAddresses()); @@ -583,10 +578,8 @@ final class UdpTransceiver implements Transceiver if(!join) { throw new Ice.SocketException(new IllegalArgumentException( - "There aren't any interfaces that support multicast, " + - "or the interfaces that support it\n" + - "are not configured for the group protocol. " + - "Cannot join the mulitcast group.")); + "There are no interfaces that are configured for the group protocol.\n" + + "Cannot join the multicast group.")); } } } |