mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
Fix uninit variable in fix#516.
git-svn-id: file:///svn/unbound/trunk@2934 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
c8d22543f3
commit
5dbb2ce669
2 changed files with 4 additions and 1 deletions
|
|
@ -1,3 +1,6 @@
|
|||
14 Aug 2013: Wouter
|
||||
- Fix uninit variable in fix#516.
|
||||
|
||||
8 Aug 2013: Wouter
|
||||
- Fix#516 dnssec lameness detection for answers that are improper.
|
||||
|
||||
|
|
|
|||
|
|
@ -225,7 +225,7 @@ iter_filter_unsuitable(struct iter_env* iter_env, struct module_env* env,
|
|||
}
|
||||
/* no server information present */
|
||||
if(a->dnsseclame)
|
||||
return rtt+USEFUL_SERVER_TOP_TIMEOUT*2; /* nonpref */
|
||||
return UNKNOWN_SERVER_NICENESS+USEFUL_SERVER_TOP_TIMEOUT*2; /* nonpref */
|
||||
else if(a->lame)
|
||||
return USEFUL_SERVER_TOP_TIMEOUT+1+UNKNOWN_SERVER_NICENESS; /* nonpref */
|
||||
return UNKNOWN_SERVER_NICENESS;
|
||||
|
|
|
|||
Loading…
Reference in a new issue