Commit 72b0326c authored by Mark Andrews's avatar Mark Andrews
Browse files

check if IPV6_TCLASS is defined

parent 3a32ac2a
......@@ -1526,7 +1526,7 @@ build_msghdr_send(isc__socket_t *sock, isc_socketevent_t *dev,
}
}
#endif
#ifdef IPPROTO_IPV6
#if defined(IPPROTO_IPV6) && defined(IPV6_TCLASS)
if (sock->pf == AF_INET6 &&
((isc_net_probedscp() & ISC_NET_DSCPPKTV6) != 0))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment