From: Jeremy Harris Date: Sat, 28 Sep 2013 12:31:43 +0000 (+0100) Subject: Fix non-IPv6 compile on v6-less system X-Git-Tag: exim-4_82_RC2~14 X-Git-Url: https://git.exim.org/exim.git/commitdiff_plain/b301a50b64f9ee8b32c53f06f5305211f5991b39?ds=inline Fix non-IPv6 compile on v6-less system --- diff --git a/src/src/ip.c b/src/src/ip.c index b0c98878b..98eed1b93 100644 --- a/src/src/ip.c +++ b/src/src/ip.c @@ -464,11 +464,13 @@ if (af == AF_INET) *level = IPPROTO_IP; *optname = IP_TOS; } +#if HAVE_IPV6 else if (af == AF_INET6) { *level = IPPROTO_IPV6; *optname = IPV6_TCLASS; } +#endif else { DEBUG(D_transport)