* autoload.cc (GetExtendedTcpTable): Define.

* fhandler_socket.cc (address_in_use): Take const struct sockaddr
	pointer as argument.  Implement additional AF_INET6 table check.
	(fhandler_socket::bind): Drop AF_INET test before calling
	address_in_use.
	* net.cc (ipv4_getnameinfo): Return EAI_FAMILY instead of 1 if
	called with unsupported af_family.
This commit is contained in:
Corinna Vinschen
2008-07-14 15:56:11 +00:00
parent c0bb6b5bd6
commit 88d1b6df94
4 changed files with 68 additions and 20 deletions

View File

@@ -3765,7 +3765,7 @@ ipv4_getnameinfo (const struct sockaddr *sa, socklen_t salen,
#endif
default:
return (1);
return (EAI_FAMILY);
}
}