From: Vsevolod Stakhov Date: Wed, 8 Oct 2025 08:13:15 +0000 (+0100) Subject: [Minor] Fix UDP fallback path to use proper upstream rotation X-Git-Tag: 3.14.0~84^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2129c0ebb6605bf4541dd9000872c18f4c0736f0;p=thirdparty%2Frspamd.git [Minor] Fix UDP fallback path to use proper upstream rotation --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index 743fdd3750..d379d8e986 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -4991,7 +4991,7 @@ register_fuzzy_client_call(struct rspamd_task *task, if (selected) { msg_info_task("fuzzy_check: sending %d commands via UDP to %s", (int) commands->len, rspamd_upstream_name(selected)); - addr = rspamd_upstream_addr_cur(selected); + addr = rspamd_upstream_addr_next(selected); if ((sock = rspamd_inet_address_connect(addr, SOCK_DGRAM, TRUE)) == -1) { msg_warn_task("cannot connect to %s(%s), %d, %s",