mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 15:45:25 +00:00
add EAI_OVERFLOW to lwres
This commit is contained in:
@@ -63,7 +63,8 @@ static const char *gai_messages[] = {
|
|||||||
"ai_socktype not supported",
|
"ai_socktype not supported",
|
||||||
"system error returned in errno",
|
"system error returned in errno",
|
||||||
"bad hints",
|
"bad hints",
|
||||||
"bad protocol"
|
"bad protocol",
|
||||||
|
"overflow"
|
||||||
};
|
};
|
||||||
|
|
||||||
/*% Returns an error message corresponding to an error code returned by getaddrinfo() */
|
/*% Returns an error message corresponding to an error code returned by getaddrinfo() */
|
||||||
|
@@ -88,6 +88,7 @@ struct addrinfo {
|
|||||||
#undef EAI_SYSTEM
|
#undef EAI_SYSTEM
|
||||||
#undef EAI_BADHINTS
|
#undef EAI_BADHINTS
|
||||||
#undef EAI_PROTOCOL
|
#undef EAI_PROTOCOL
|
||||||
|
#undef EAI_OVERFLOW
|
||||||
#undef EAI_MAX
|
#undef EAI_MAX
|
||||||
|
|
||||||
#define EAI_ADDRFAMILY 1 /* address family for hostname not supported */
|
#define EAI_ADDRFAMILY 1 /* address family for hostname not supported */
|
||||||
@@ -103,7 +104,8 @@ struct addrinfo {
|
|||||||
#define EAI_SYSTEM 11 /* system error returned in errno */
|
#define EAI_SYSTEM 11 /* system error returned in errno */
|
||||||
#define EAI_BADHINTS 12
|
#define EAI_BADHINTS 12
|
||||||
#define EAI_PROTOCOL 13
|
#define EAI_PROTOCOL 13
|
||||||
#define EAI_MAX 14
|
#define EAI_OVERFLOW 14
|
||||||
|
#define EAI_MAX 15
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Flag values for getaddrinfo()
|
* Flag values for getaddrinfo()
|
||||||
|
Reference in New Issue
Block a user