From: Alan T. DeKok Date: Sat, 30 May 2009 07:40:05 +0000 (+0200) Subject: Suppress more ping check none X-Git-Tag: release_2_1_7~116 X-Git-Url: http://www.project-moonshot.org/gitweb/?a=commitdiff_plain;h=9dd7ed412a12310914d2825acd28eb71759fa2a0;p=freeradius.git Suppress more ping check none If the home server is zombie, and status_check=none, don't ping it --- diff --git a/src/main/event.c b/src/main/event.c index 523a505..d3db7ea 100644 --- 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; }