projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a6ef3cf
)
Fix bug that caused spinning when home server was put in zombie state.
author
Philippe Wooding
<philippe.wooding@networkradius.com>
Mon, 8 Jun 2015 10:18:22 +0000
(12:18 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 8 Jun 2015 13:01:41 +0000
(09:01 -0400)
src/main/process.c
patch
|
blob
|
history
diff --git
a/src/main/process.c
b/src/main/process.c
index
00d4ff7
..
ed2a349
100644
(file)
--- 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);
}