Worked on IPv6-only stack: netdb should work

This commit is contained in:
sg
2015-04-13 21:29:04 +02:00
parent e77e18f8c4
commit 6324068d34
2 changed files with 21 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ struct addrinfo {
};
#endif /* LWIP_DNS_API_DECLARE_STRUCTS */
#define NETDB_ELEM_SIZE (sizeof(struct addrinfo) + sizeof(struct sockaddr_in) + DNS_MAX_NAME_LENGTH + 1)
#define NETDB_ELEM_SIZE (sizeof(struct addrinfo) + sizeof(struct sockaddr_storage) + DNS_MAX_NAME_LENGTH + 1)
#if LWIP_DNS_API_DECLARE_H_ERRNO
/* application accessible error code set by the DNS API functions */