diff options
author | venaas <venaas> | 2009-01-13 15:14:29 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2009-01-13 15:14:29 +0000 |
commit | 64dad5a7723089248b12b98cb2cd2ab0c4a68cd3 (patch) | |
tree | 1d24b64c1a06152d163451c71fb4aab4faabc1e1 | |
parent | 4bfc37e9e0e05acb0d2a26b773929f29091ba807 (diff) |
delay for retrying dynamic after various other failures
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@458 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r-- | radsecproxy.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |