From: Vsevolod Stakhov Date: Sat, 1 Nov 2025 12:02:46 +0000 (+0000) Subject: [Minor] Fix ping command X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be7f3a5ce9bccfcb0404cf82a61a02b16446eef4;p=thirdparty%2Frspamd.git [Minor] Fix ping command --- diff --git a/src/plugins/fuzzy_check.c b/src/plugins/fuzzy_check.c index a7709aaf07..4714f26094 100644 --- a/src/plugins/fuzzy_check.c +++ b/src/plugins/fuzzy_check.c @@ -6922,7 +6922,7 @@ fuzzy_lua_ping_storage(lua_State *L) if (addr != NULL) { int sock; - GPtrArray *commands = fuzzy_generate_commands(task, rule, FUZZY_PING, 0, 0, 0); + GPtrArray *commands = fuzzy_generate_commands(task, rule_found, FUZZY_PING, 0, 0, 0); if ((sock = rspamd_inet_address_connect(addr, SOCK_DGRAM, TRUE)) == -1) { lua_pushboolean(L, FALSE);