Fix uninit variable in fix#516.

git-svn-id: file:///svn/unbound/trunk@2934 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
Wouter Wijngaards 2013-08-14 07:53:33 +00:00
parent c8d22543f3
commit 5dbb2ce669
2 changed files with 4 additions and 1 deletions

View file

@ -1,3 +1,6 @@
14 Aug 2013: Wouter
- Fix uninit variable in fix#516.
8 Aug 2013: Wouter 8 Aug 2013: Wouter
- Fix#516 dnssec lameness detection for answers that are improper. - Fix#516 dnssec lameness detection for answers that are improper.

View file

@ -225,7 +225,7 @@ iter_filter_unsuitable(struct iter_env* iter_env, struct module_env* env,
} }
/* no server information present */ /* no server information present */
if(a->dnsseclame) 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) else if(a->lame)
return USEFUL_SERVER_TOP_TIMEOUT+1+UNKNOWN_SERVER_NICENESS; /* nonpref */ return USEFUL_SERVER_TOP_TIMEOUT+1+UNKNOWN_SERVER_NICENESS; /* nonpref */
return UNKNOWN_SERVER_NICENESS; return UNKNOWN_SERVER_NICENESS;