MINOR: checks: mark CHECKS-FE dummy frontend as internal

CHECKS-FE frontend is a dummy frontend used to create checks sessions
as such, it is internal and should not be exposed to the user.
Better mark it as internal using PR_CAP_INT capability to prevent
proxy API from ever exposing it.
This commit is contained in:
Aurelien DARRAGON 2025-04-09 21:40:44 +02:00
parent e1cec655ee
commit 5087048b6d

View File

@ -1673,7 +1673,7 @@ static int start_checks()
ha_alert("Out of memory creating the checks frontend.\n");
return ERR_ALERT | ERR_FATAL;
}
checks_fe.cap = PR_CAP_FE | PR_CAP_BE;
checks_fe.cap = PR_CAP_FE | PR_CAP_BE | PR_CAP_INT;
checks_fe.mode = PR_MODE_TCP;
checks_fe.maxconn = 0;
checks_fe.conn_retries = CONN_RETRIES;