natInetAddress.cc (lookup): Fix typo (AF_INET16 -> AF_INET6).
1999-04-08 Geoff Berry <gcb@gnu.org> * natInetAddress.cc (lookup): Fix typo (AF_INET16 -> AF_INET6). * natPlainSocketImpl.cc (accept): Add missing else if check for AF_INET6. From-SVN: r26297
This commit is contained in:
parent
3fc5037bd1
commit
825bd5ae6f
3 changed files with 8 additions and 1 deletions
|
@ -154,7 +154,7 @@ java::net::InetAddress::lookup (jstring host, java::net::InetAddress* iaddr,
|
|||
else if (len == 16)
|
||||
{
|
||||
val = (char *) &chars;
|
||||
type = AF_INET16;
|
||||
type = AF_INET6;
|
||||
}
|
||||
#endif /* HAVE_INET6 */
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue