[exim-dev] [Bug 1441] Gnu hurd missing support for TCLASS ca…

Top Page
Delete this message
Reply to this message
Author: Git Commit
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 1441] Gnu hurd missing support for TCLASS causes build failure
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1441

Git Commit <git@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |git@???





--- Comment #2 from Git Commit <git@???> 2014-02-09 21:17:12 ---
Git commit:
http://git.exim.org/exim.git/commitdiff/bb7b9411e1b4f95418bed7b35035186e261063a6

commit bb7b9411e1b4f95418bed7b35035186e261063a6
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Feb 9 21:03:27 2014 +0000
Commit:     Jeremy Harris <jgh146exb@???>
CommitDate: Sun Feb 9 21:03:27 2014 +0000


    Fix build on systems having ipv6 but lacking an IPV6_TCLASS define (GNU
Hurd).  Bug 1441
    By Samuel Thibault
---
 src/src/ip.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/src/src/ip.c b/src/src/ip.c
index ae629b0..d6e4e7a 100644
--- a/src/src/ip.c
+++ b/src/src/ip.c
@@ -464,7 +464,7 @@ if (af == AF_INET)
*level = IPPROTO_IP;
*optname = IP_TOS;
}
-#if HAVE_IPV6
+#if HAVE_IPV6 && defined(IPV6_TCLASS)
else if (af == AF_INET6)
{
*level = IPPROTO_IPV6;


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email