>>>>> ":" == Ito Kazumitsu <[EMAIL PROTECTED]> writes:

:> Hi, IPv6 issue again.

This is not necessarily an IPv6 issue.

:> getByName failed: name: ed0 (ed0) addresses:
:> fe80:2::290:99ff:fe5f:4cb2/fe80:2:::290:99ff:fe5f:4cb2;
:>  != name: ed0 (ed0) addresses:
:> 192.168.0.4/192.168.0.4;

The network interface ed0 has two addresses:
        inet 192.168.0.4 netmask 0xffffff00 broadcast 192.168.0.255
        inet6 fe80::290:99ff:fe5f:4cb2%ed0 prefixlen 64 scopeid 0x2

In this case, I think, java.net.getNetworkInterfaces() should
return one interface, [ed0 {192.168.0.4, fe80::290:99ff:fe5f:4cb2}],
but actually returns two interfaces, [ed0 {192.168.0.4}] and
[ed0 {fe80::290:99ff:fe5f:4cb2}].

On the other hand, java.net.getByName("ed0") returns only one
interface [ed0 {192.168.0.4}].  So [ed0 {fe80::290:99ff:fe5f:4cb2}]
is not equal to [ed0 {192.168.0.4}].

In the older version:
   ChangeLog head: 2004-05-14  Guilhem Lavaux <[EMAIL PROTECTED]>
java.net.getNetworkInterfaces() returned only one interface
[ed0 {192.168.0.4}] (the second address fe80::290:99ff:fe5f:4cb2 may have
been omitted), so the regression test passed.

_______________________________________________
kaffe mailing list
[EMAIL PROTECTED]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to