Re: broadcast and prefix length with IPv6

2010-01-25 Thread Christopher Hegarty - Sun Microsystems Ireland
Hi Mark, I finally got around to this one. It will be fixed in the next JDK7 promotion, b83. For reference, Changeset: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/e67bf9abc6a5 Review: http://mail.openjdk.java.net/pipermail/net-dev/2010-January/001502.html -Chris. On 14/12/2009 16:27, M

Re: broadcast and prefix length with IPv6

2009-12-14 Thread Christopher Hegarty - Sun Microsystems Ireland
Hi Mark, I've actually just reproduced this myself on one of our Vista boxes. I've accepted the bug, 6707289, and will try to determine the root cause. -Chris. On 14/12/2009 16:27, Mark Thornton wrote: On Vista, if you try to find the broadcast address and net prefix length associated with a

broadcast and prefix length with IPv6

2009-12-14 Thread Mark Thornton
On Vista, if you try to find the broadcast address and net prefix length associated with an IPv4 address (InterfaceAddress.getBroadcast(), InterfaceAddress.getNetworkPrefixLength()), you get nonsense unless IPv6 is disabled. Bug 6707289 describes the prefix length case. Workaround: -Djava.net.pre