From: William Lallemand Date: Wed, 28 Jul 2021 15:40:56 +0000 (+0200) Subject: MINOR: mworker: the mworker CLI proxy is internal X-Git-Tag: v2.5-dev3~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d11c5728b4b3af115b07db63f2d965bd1338affa;p=thirdparty%2Fhaproxy.git MINOR: mworker: the mworker CLI proxy is internal Sets the mworker CLI proxy as a internal one (PR_CAP_INT) so we could exlude it from stats and other tests. --- diff --git a/src/cli.c b/src/cli.c index b3132191dc..2344eb3932 100644 --- a/src/cli.c +++ b/src/cli.c @@ -2685,7 +2685,7 @@ int mworker_cli_proxy_create() mworker_proxy->id = strdup("MASTER"); mworker_proxy->mode = PR_MODE_CLI; mworker_proxy->last_change = now.tv_sec; - mworker_proxy->cap = PR_CAP_LISTEN; /* this is a listen section */ + mworker_proxy->cap = PR_CAP_LISTEN | PR_CAP_INT; /* this is a listen section */ mworker_proxy->maxconn = 10; /* default to 10 concurrent connections */ mworker_proxy->timeout.client = 0; /* no timeout */ mworker_proxy->conf.file = strdup("MASTER");