git://git.exim.org
/
exim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7142dac
)
Fix non-IPv6 compile on v6-less system
author
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 28 Sep 2013 12:31:43 +0000
(13:31 +0100)
committer
Jeremy Harris
<jgh146exb@wizmail.org>
Sat, 28 Sep 2013 12:31:43 +0000
(13:31 +0100)
src/src/ip.c
patch
|
blob
|
history
diff --git
a/src/src/ip.c
b/src/src/ip.c
index b0c98878b6736b9f3365129d50a11ee10a22af4a..98eed1b934777be9e1d29a527df9eb7500acda28 100644
(file)
--- 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)