projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
942c006
)
Suppress more ping check none
author
Alan T. DeKok
<aland@freeradius.org>
Sat, 30 May 2009 07:40:05 +0000
(09:40 +0200)
committer
Alan T. DeKok
<aland@freeradius.org>
Sat, 30 May 2009 07:40:05 +0000
(09:40 +0200)
If the home server is zombie, and status_check=none, don't ping it
src/main/event.c
patch
|
blob
|
history
diff --git
a/src/main/event.c
b/src/main/event.c
index
523a505
..
d3db7ea
100644
(file)
--- a/
src/main/event.c
+++ b/
src/main/event.c
@@
-763,7
+763,8
@@
static void ping_home_server(void *ctx)
REQUEST *request;
VALUE_PAIR *vp;
- if (home->state == HOME_STATE_ALIVE) {
+ if ((home->state == HOME_STATE_ALIVE) ||
+ (home->ping_check == HOME_PING_CHECK_NONE)) {
return;
}