diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 33e30ab64a7..8c21e1ae2aa 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,8 @@ +2002-09-17 Michael Koch + + * java/net/natNetworkInterface.cc: + Removed unneed and yet wrong includes. + 2002-09-17 Michael Koch * java/net/NetworkInterface.java: New file. diff --git a/libjava/java/net/natNetworkInterface.cc b/libjava/java/net/natNetworkInterface.cc index 92735921e3a..75e904deb86 100644 --- a/libjava/java/net/natNetworkInterface.cc +++ b/libjava/java/net/natNetworkInterface.cc @@ -52,8 +52,7 @@ details. */ #include #include #include -#include -#include +#include #include #include @@ -122,8 +121,8 @@ java::net::NetworkInterface::getRealNetworkInterfaces () jbyteArray baddr = JvNewByteArray (len); memcpy (elements (baddr), &(sa.sin_addr), len); jstring if_name = JvNewStringLatin1 (if_record->ifr_name); - Inet4Address* address = - new java::net::Inet4Address (baddr, JvNewStringLatin1 ("")); + InetAddress* address = + new java::net::InetAddress (baddr, JvNewStringLatin1 ("")); ht->add (new NetworkInterface (if_name, address)); if_record++; }