From: Alan T. DeKok Date: Wed, 4 Aug 2021 22:59:20 +0000 (-0400) Subject: allow status-server checks for TCP X-Git-Tag: release_3_0_24~69 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27effbefe0a1c6263dfdc197b8a30b61f0c1533e;p=thirdparty%2Ffreeradius-server.git allow status-server checks for TCP nothing yet implements that, but it's a start. We still have to allocate a permanent ID for status-server checks --- diff --git a/src/main/realms.c b/src/main/realms.c index 0f3ee3e606..ad5f546639 100644 --- a/src/main/realms.c +++ b/src/main/realms.c @@ -898,8 +898,9 @@ home_server_t *home_server_afrom_cs(TALLOC_CTX *ctx, realm_config_t *rc, CONF_SE cf_log_err_cs(cs, "Server not built with support for RADIUS over TCP"); goto error; #endif - if (home->ping_check != HOME_PING_CHECK_NONE) { - cf_log_err_cs(cs, "Only 'status_check = none' is allowed for home " + if ((home->ping_check != HOME_PING_CHECK_NONE) && + (home->ping_check != HOME_PING_CHECK_STATUS_SERVER)) { + cf_log_err_cs(cs, "Only 'status_check = status-server' is allowed for home " "servers with 'proto = tcp'"); goto error; }