mirror of
https://github.com/isc-projects/bind9.git
synced 2026-05-28 04:34:54 -04:00
only test for prefixlen <= 63
This commit is contained in:
parent
409ac247f7
commit
5744415a75
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