]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix bug that caused spinning when home server was put in zombie state.
authorPhilippe Wooding <philippe.wooding@networkradius.com>
Mon, 8 Jun 2015 10:18:22 +0000 (12:18 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 8 Jun 2015 13:01:41 +0000 (09:01 -0400)
src/main/process.c

index 00d4ff7335455d9abe508020ac40991087483ba9..ed2a3499bb76bdfe7c222880257baddd6044a769 100644 (file)
@@ -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);
                }