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

4025. [port] bsdi: failed to build. [RT #38047]

This commit is contained in:
Mark Andrews
2014-12-19 12:06:35 +11:00
parent d5ece58e3b
commit d8f2dd46cb
14 changed files with 241 additions and 59 deletions

View File

@@ -1388,7 +1388,7 @@ process_cmsg(isc__socket_t *sock, struct msghdr *msg, isc_socketevent_t *dev) {
|| cmsgp->cmsg_type == IP_RECVTOS
#endif
)) {
dev->dscp = (int) *(uint8_t *)CMSG_DATA(cmsgp);
dev->dscp = (int) *(unsigned char *)CMSG_DATA(cmsgp);
dev->dscp >>= 2;
dev->attributes |= ISC_SOCKEVENTATTR_DSCP;
goto next;