fix test and add mapage entry

This commit is contained in:
TCY16
2022-07-01 15:39:13 +02:00
parent aebf1db116
commit 0d3823f3b3
2 changed files with 10 additions and 2 deletions
+1 -2
View File
@@ -1894,9 +1894,8 @@ adjust_packet(struct entry* match, uint8_t** answer_pkt, size_t *answer_len,
reslen = origlen + 28;
} else if (sldns_read_uint16(walk_query+2) == 24) {
/* update the RDLEN and OPTLEN */
/* update the RDLEN */
sldns_write_uint16(rdlen_ptr_response, 28);
sldns_write_uint16(walk_response+2, 24);
/* we fake verification of the cookie and send
* it back like it's still valid. We renew the cookie