mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
fix bogus flag.
git-svn-id: file:///svn/unbound/trunk@820 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
6a5f5e652a
commit
9f97c4ac44
2 changed files with 2 additions and 1 deletions
|
|
@ -6,6 +6,7 @@
|
|||
- respect -v for NXDOMAINs.
|
||||
- updated ldns-src.tar.gz with ldns-trunk today (1.2.2 fixes).
|
||||
- size_t to int for portability of the header file.
|
||||
- fixup bogus handling.
|
||||
|
||||
6 December 2007: Wouter
|
||||
- library resolution works in foreground mode, unbound-host app
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ libworker_fg_done_cb(void* arg, int rcode, ldns_buffer* buf, enum sec_status s)
|
|||
d->q->res->rcode = (int)LDNS_RCODE_WIRE(d->q->msg);
|
||||
if(d->q->res->rcode == LDNS_RCODE_NXDOMAIN)
|
||||
d->q->res->nxdomain = 1;
|
||||
if(d->q->msg_security == sec_status_bogus)
|
||||
if(s == sec_status_bogus)
|
||||
d->q->res->bogus = 1;
|
||||
|
||||
d->q->msg_security = s;
|
||||
|
|
|
|||
Loading…
Reference in a new issue