mirror of
https://github.com/isc-projects/bind9.git
synced 2026-07-16 16:52:52 -04:00
[master] fix build failure on hpux
This commit is contained in:
parent
634a52966f
commit
fce7ba0f07
1 changed files with 4 additions and 3 deletions
|
|
@ -1491,8 +1491,9 @@ build_msghdr_send(isc__socket_t *sock, isc_socketevent_t *dev,
|
|||
INSIST(sock->dscp == isc_dscp_check_value);
|
||||
}
|
||||
|
||||
if ((sock->type == isc_sockettype_udp)
|
||||
&& ((dev->attributes & ISC_SOCKEVENTATTR_DSCP) != 0)) {
|
||||
if ((sock->type == isc_sockettype_udp) &&
|
||||
((dev->attributes & ISC_SOCKEVENTATTR_DSCP) != 0))
|
||||
{
|
||||
int dscp = (dev->dscp << 2) & 0xff;
|
||||
|
||||
#ifdef IP_TOS
|
||||
|
|
@ -1557,8 +1558,8 @@ build_msghdr_send(isc__socket_t *sock, isc_socketevent_t *dev,
|
|||
strbuf);
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif /* USE_CMSG && ISC_PLATFORM_HAVEIPV6 */
|
||||
#else /* ISC_NET_BSD44MSGHDR */
|
||||
msg->msg_accrights = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue