From 64dad5a7723089248b12b98cb2cd2ab0c4a68cd3 Mon Sep 17 00:00:00 2001 From: venaas Date: Tue, 13 Jan 2009 15:14:29 +0000 Subject: delay for retrying dynamic after various other failures git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@458 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/radsecproxy.c b/radsecproxy.c index 8dc8022..3140c0b 100644 --- a/radsecproxy.c +++ b/radsecproxy.c @@ -1910,11 +1910,15 @@ void *clientwr(void *arg) { if (server->dynamiclookuparg && !dynamicconfig(server)) { dynconffail = 1; + server->dynstartup = 0; + sleep(900); goto errexit; } if (!conf->addrinfo && !resolvepeer(conf, 0)) { debug(DBG_WARN, "failed to resolve host %s port %s", conf->host ? conf->host : "(null)", conf->port ? conf->port : "(null)"); + server->dynstartup = 0; + sleep(900); goto errexit; } -- cgit v1.1