mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-02-03 20:29:28 -05:00
- Fix faulty assert
This commit is contained in:
parent
16543731f5
commit
627285af23
1 changed files with 1 additions and 1 deletions
|
|
@ -342,7 +342,7 @@ static int ipdnametoaddr(uint8_t* dname, size_t dnamelen,
|
|||
ia[i] = (uint8_t)chunk;
|
||||
i--;
|
||||
} else {
|
||||
log_assert(i < 15 && i >= 1);
|
||||
log_assert(i < 16 && i >= 1);
|
||||
/* ia in network byte order */
|
||||
ia[i-1] = (uint8_t)(chunk >> 8);
|
||||
ia[i] = (uint8_t)(chunk & 0x00FF);
|
||||
|
|
|
|||
Loading…
Reference in a new issue