mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
Merge branch '754-silence-warning-about-first-half-of-conditional-always-being-true' into 'master'
Resolve "Silence warning about first half of conditional always being true." Closes #754 See merge request isc-projects/bind9!1162
This commit is contained in:
commit
7c60b78080
1 changed files with 1 additions and 1 deletions
|
|
@ -563,7 +563,7 @@ check_dns64(cfg_aclconfctx_t *actx, const cfg_obj_t *voptions,
|
|||
continue;
|
||||
}
|
||||
nbytes = prefixlen / 8 + 4;
|
||||
if (prefixlen >= 32 && prefixlen <= 64)
|
||||
if (prefixlen <= 64)
|
||||
nbytes++;
|
||||
if (memcmp(sa.type.in6.s6_addr, zeros, nbytes) != 0) {
|
||||
char netaddrbuf[ISC_NETADDR_FORMATSIZE];
|
||||
|
|
|
|||
Loading…
Reference in a new issue