2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-09-05 09:05:40 +00:00

[master] fix build failure on hpux

This commit is contained in:
Evan Hunt
2013-04-10 21:59:14 -07:00
parent 634a52966f
commit fce7ba0f07

View File

@@ -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;