jdk/test/java/net/MulticastSocket/SetOutgoingIf.java
changeset 6115 7c523cf2bc8a
parent 5506 202f599c92aa
child 7668 d4a77089c587
--- a/jdk/test/java/net/MulticastSocket/SetOutgoingIf.java	Tue Jul 20 10:41:50 2010 -0400
+++ b/jdk/test/java/net/MulticastSocket/SetOutgoingIf.java	Wed Jul 21 13:29:26 2010 +0100
@@ -76,6 +76,10 @@
 
                 // now determine what (if any) type of addresses are assigned to this interface
                 for (InetAddress addr : Collections.list(nic.getInetAddresses())) {
+                    if (addr.isAnyLocalAddress())
+                        continue;
+
+                    System.out.println("    addr " + addr);
                     if (addr instanceof Inet4Address) {
                         netIf.ipv4Address(true);
                     } else if (addr instanceof Inet6Address) {