2008-09-18 09:40:55 +00:00
|
|
|
diff -up fetchmail-6.3.8/socket.c.addrconf fetchmail-6.3.8/socket.c
|
|
|
|
--- fetchmail-6.3.8/socket.c.addrconf 2006-12-17 01:05:31.000000000 +0100
|
|
|
|
+++ fetchmail-6.3.8/socket.c 2008-09-18 11:37:15.000000000 +0200
|
|
|
|
@@ -276,6 +276,9 @@ int SockOpen(const char *host, const cha
|
|
|
|
|
2004-09-09 04:47:22 +00:00
|
|
|
memset(&req, 0, sizeof(struct addrinfo));
|
|
|
|
req.ai_socktype = SOCK_STREAM;
|
|
|
|
+#ifdef AI_ADDRCONFIG
|
|
|
|
+ req.ai_flags = AI_ADDRCONFIG;
|
|
|
|
+#endif
|
|
|
|
|
2008-09-18 09:40:55 +00:00
|
|
|
i = fm_getaddrinfo(host, service, &req, ai0);
|
|
|
|
if (i) {
|