mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-29 13:38:26 +00:00
check if IPV6_TCLASS is defined
This commit is contained in:
parent
3a32ac2a72
commit
72b0326c20
@ -1526,7 +1526,7 @@ build_msghdr_send(isc__socket_t *sock, isc_socketevent_t *dev,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
#ifdef IPPROTO_IPV6
|
#if defined(IPPROTO_IPV6) && defined(IPV6_TCLASS)
|
||||||
if (sock->pf == AF_INET6 &&
|
if (sock->pf == AF_INET6 &&
|
||||||
((isc_net_probedscp() & ISC_NET_DSCPPKTV6) != 0))
|
((isc_net_probedscp() & ISC_NET_DSCPPKTV6) != 0))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user