From: Philippe Wooding Date: Mon, 8 Jun 2015 10:18:22 +0000 (+0200) Subject: Fix bug that caused spinning when home server was put in zombie state. X-Git-Tag: release_3_0_9~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3f2a0295d3607463280b17a852dc83a8d710a1d;p=thirdparty%2Ffreeradius-server.git Fix bug that caused spinning when home server was put in zombie state. --- diff --git a/src/main/process.c b/src/main/process.c index 00d4ff73354..ed2a3499bb7 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -3357,8 +3357,8 @@ static void ping_home_server(void *ctx) */ if (home->ping_check == HOME_PING_CHECK_NONE) { if (home->state == HOME_STATE_ZOMBIE) { - when = home->zombie_period_start; - when.tv_sec += home->zombie_period; + home->when = home->zombie_period_start; + home->when.tv_sec += home->zombie_period; INSERT_EVENT(ping_home_server, home); }