]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
add EAI_OVERFLOW to lwres
authorMark Andrews <marka@isc.org>
Tue, 17 Jun 2014 00:20:24 +0000 (10:20 +1000)
committerMark Andrews <marka@isc.org>
Tue, 17 Jun 2014 00:22:04 +0000 (10:22 +1000)
(cherry picked from commit e177c7b81414417858b5d4816946b1b9d72fbf1c)

lib/lwres/gai_strerror.c
lib/lwres/include/lwres/netdb.h.in

index 70b35b0d80b076e15ba894c33e3c5ef1d546f147..8eef806808e02e99da067545bc371ba5b9f900b0 100644 (file)
@@ -63,7 +63,8 @@ static const char *gai_messages[] = {
        "ai_socktype not supported",
        "system error returned in errno",
        "bad hints",
-       "bad protocol"
+       "bad protocol",
+       "overflow"
 };
 
 /*% Returns an error message corresponding to an error code returned by getaddrinfo() */
index 0844384e5219018f36eb718c40d16464bf962773..d961351096044ab0f7e08f3fe54b1b29bfbe6c26 100644 (file)
@@ -88,6 +88,7 @@ struct addrinfo {
 #undef EAI_SYSTEM
 #undef EAI_BADHINTS
 #undef EAI_PROTOCOL
+#undef EAI_OVERFLOW
 #undef EAI_MAX
 
 #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_BADHINTS   12
 #define EAI_PROTOCOL   13
-#define EAI_MAX                14
+#define EAI_OVERFLOW   14
+#define EAI_MAX                15
 
 /*
  * Flag values for getaddrinfo()