mirror of
https://github.com/NLnetLabs/unbound.git
synced 2025-12-20 23:00:56 -05:00
flush_infra remove timeout counters too.
git-svn-id: file:///svn/unbound/trunk@2640 be551aaa-1e26-0410-a405-d3ace91eadb9
This commit is contained in:
parent
6e46110ae8
commit
af71677114
1 changed files with 3 additions and 0 deletions
|
|
@ -1127,6 +1127,9 @@ infra_del_host(struct lruhash_entry* e, void* arg)
|
|||
if(sockaddr_cmp(&inf->addr, inf->addrlen, &k->addr, k->addrlen) == 0) {
|
||||
struct infra_data* d = (struct infra_data*)e->data;
|
||||
d->probedelay = 0;
|
||||
d->timeout_A = 0;
|
||||
d->timeout_AAAA = 0;
|
||||
d->timeout_other = 0;
|
||||
rtt_init(&d->rtt);
|
||||
if(d->ttl >= inf->now) {
|
||||
d->ttl = inf->expired;
|
||||
|
|
|
|||
Loading…
Reference in a new issue