From 7166c1ad367e25b6cd240762775cb720d4765943 Mon Sep 17 00:00:00 2001 From: Wouter Wijngaards Date: Thu, 30 Jul 2015 14:01:04 +0000 Subject: [PATCH] no zero waiting times. git-svn-id: file:///svn/unbound/trunk@3464 be551aaa-1e26-0410-a405-d3ace91eadb9 --- validator/autotrust.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/validator/autotrust.c b/validator/autotrust.c index 7cb77f426..1194fae2a 100644 --- a/validator/autotrust.c +++ b/validator/autotrust.c @@ -1966,6 +1966,8 @@ calc_next_probe(struct module_env* env, time_t wait) if(!autr_permit_small_holddown) { if(wait < 3600) wait = 3600; + } else { + if(wait == 0) wait = 1; } rnd = wait/10; rest = wait-rnd; -- 2.47.2