mirror of
https://github.com/isc-projects/bind9.git
synced 2026-04-15 22:09:31 -04:00
don't mix IPv4 and IPv6 capability bits
This commit is contained in:
parent
f1fcadccc4
commit
27deca2bf0
1 changed files with 1 additions and 1 deletions
|
|
@ -762,7 +762,7 @@ ATF_TC_BODY(net_probedscp, tc) {
|
|||
(n & ISC_NET_DSCPRECVV4) ? " receive" : "");
|
||||
|
||||
/* ISC_NET_DSCPSETV6 MUST be set if any is set. */
|
||||
if (n & (ISC_NET_DSCPSETV6|ISC_NET_DSCPPKTV4|ISC_NET_DSCPRECVV4))
|
||||
if (n & (ISC_NET_DSCPSETV6|ISC_NET_DSCPPKTV6|ISC_NET_DSCPRECVV6))
|
||||
ATF_CHECK_MSG((n & ISC_NET_DSCPSETV6) != 0,
|
||||
"IPv6:%s%s%s\n",
|
||||
(n & ISC_NET_DSCPSETV6) ? " set" : " none",
|
||||
|
|
|
|||
Loading…
Reference in a new issue