mirror of
https://github.com/NLnetLabs/unbound.git
synced 2026-08-28 18:59:46 +02:00
please lint.
git-svn-id: file:///svn/unbound/trunk@1433 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
+1
-1
@@ -244,7 +244,7 @@ error_response_cache(struct module_qstate* qstate, int id, int rcode)
|
||||
/* store in cache */
|
||||
struct reply_info err;
|
||||
memset(&err, 0, sizeof(err));
|
||||
err.flags = BIT_QR | BIT_RA;
|
||||
err.flags = (uint16_t)(BIT_QR | BIT_RA);
|
||||
FLAGS_SET_RCODE(err.flags, rcode);
|
||||
err.qdcount = 1;
|
||||
err.ttl = NORR_TTL;
|
||||
|
||||
Reference in New Issue
Block a user