diff -r 9d463b9408ba -r 7c523cf2bc8a jdk/test/java/net/MulticastSocket/SetOutgoingIf.java --- 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) {