From 23e5f18b8ec8167c220d21a263c5eb8dc1a37bad Mon Sep 17 00:00:00 2001 From: Aurelien DARRAGON Date: Fri, 27 Jun 2025 12:05:16 +0200 Subject: [PATCH] MEDIUM: sink: change the sink mode type to PR_MODE_SYSLOG No change of behavior expected, but some compat checks will now be aware that the proxy type is not TCP but SYSLOG instead. --- src/sink.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/sink.c b/src/sink.c index 0ed32c252..73924ec7c 100644 --- a/src/sink.c +++ b/src/sink.c @@ -400,6 +400,7 @@ static int cli_parse_show_events(char **args, char *payload, struct appctx *appc /* Pre-configures a ring proxy to emit connections */ void sink_setup_proxy(struct proxy *px) { + px->mode = PR_MODE_SYSLOG; px->maxconn = 0; px->conn_retries = 1; /* FIXME ignored since 91e785ed * ("MINOR: stream: Rely on a per-stream max connection retries value") -- 2.47.3