summaryrefslogtreecommitdiff
path: root/src/OS
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2013-01-14 14:05:25 -0500
committerPhil Pennock <pdp@exim.org>2013-01-14 14:05:25 -0500
commit6f5a440ab65a2ec977db14ec69698068aed98935 (patch)
treef4d5753e7af49ee7306e86691a181e5e1aee795e /src/OS
parent94eaf700d71d8bf9a45617c0323fa66fc148aab2 (diff)
Fix GNU Hurd interface IPv6 address detection.
Define SIOCGIFCONF_GIVES_ADDR in OS/os.h-GNU Fixes 1331.
Diffstat (limited to 'src/OS')
-rw-r--r--src/OS/os.Configuring2
-rw-r--r--src/OS/os.h-GNU3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/OS/os.Configuring b/src/OS/os.Configuring
index b5e4677d2..465bc2657 100644
--- a/src/OS/os.Configuring
+++ b/src/OS/os.Configuring
@@ -88,7 +88,7 @@ On some operating systems, the SIOCGIFCONF ioctl returns the IP addresses
with the list of interfaces, and there is no need to call SIOCGIFADDR for each
individual address. Mostly, making the second call does no harm, but on Linux
when there are IP aliases, it causes things to go wrong. This also happens on
-BSDI. Therefore, there is now a macro to cut it out, called
+BSDI and GNU Hurd. Therefore, there is now a macro to cut it out, called
SIOCGIFCONF_GIVES_ADDR.
Note that, if IPv6 support is configured, Exim cannot find the IPv6 addresses
diff --git a/src/OS/os.h-GNU b/src/OS/os.h-GNU
index 0f8a8d63b..cc4da0e3b 100644
--- a/src/OS/os.h-GNU
+++ b/src/OS/os.h-GNU
@@ -2,11 +2,12 @@
#define CRYPT_H
#define GLIBC_IP_OPTIONS
-#define HAVE_MMAP
#define HAVE_BSD_GETLOADAVG
+#define HAVE_MMAP
#define HAVE_SYS_VFS_H
#define NO_IP_VAR_H
#define SIG_IGN_WORKS
+#define SIOCGIFCONF_GIVES_ADDR
#define F_FREESP O_TRUNC
typedef struct flock flock_t;