From e2fe726866d062155f6b1aae749375475ef19191 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Sat, 28 Dec 2019 05:27:06 +0000 Subject: Vendor import of Unbound 1.9.6. --- testcode/unitmsgparse.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'testcode/unitmsgparse.c') diff --git a/testcode/unitmsgparse.c b/testcode/unitmsgparse.c index c0b38bac76e4f..6f1edc6e9d6e5 100644 --- a/testcode/unitmsgparse.c +++ b/testcode/unitmsgparse.c @@ -179,7 +179,7 @@ perf_encode(struct query_info* qi, struct reply_info* rep, uint16_t id, /* encode a couple times */ for(i=0; ibits & EDNS_DO) ); + r2, 65535, (int)(edns->bits & EDNS_DO), 0); unit_assert(ret != 0); /* udp packets should fit */ attach_edns_record(out, edns); regional_free_all(r2); @@ -342,7 +342,7 @@ testpkt(sldns_buffer* pkt, struct alloc_cache* alloc, sldns_buffer* out, } else if(!check_formerr_gone) { const size_t lim = 512; ret = reply_info_encode(&qi, rep, id, flags, out, timenow, - region, 65535, (int)(edns.bits & EDNS_DO) ); + region, 65535, (int)(edns.bits & EDNS_DO), 0); unit_assert(ret != 0); /* udp packets should fit */ attach_edns_record(out, &edns); if(vbmp) printf("inlen %u outlen %u\n", @@ -357,7 +357,7 @@ testpkt(sldns_buffer* pkt, struct alloc_cache* alloc, sldns_buffer* out, ret = reply_info_encode(&qi, rep, id, flags, out, timenow, region, lim - calc_edns_field_size(&edns), - (int)(edns.bits & EDNS_DO)); + (int)(edns.bits & EDNS_DO), 0); unit_assert(ret != 0); /* should fit, but with TC */ attach_edns_record(out, &edns); if( LDNS_QDCOUNT(sldns_buffer_begin(out)) != -- cgit v1.2.3