From 99d4c15237cf8647ca8fd3948c6ebff18149aa65 Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Tue, 17 Sep 2019 13:35:17 +0100 Subject: [PATCH] [Minor] Another fix for expect_ip, sigh.. --- lualib/lua_cfg_transform.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lualib/lua_cfg_transform.lua b/lualib/lua_cfg_transform.lua index b6919cb10..3a3b8e0ee 100644 --- a/lualib/lua_cfg_transform.lua +++ b/lualib/lua_cfg_transform.lua @@ -327,10 +327,11 @@ local function emails_section_convert(cfg, section) if k == 'expect_ip' then -- Another stupid hack if not converted.return_codes then - converted.return_codes = {} + converted.returncodes = {} end local symbol = value.symbol or name - converted.return_codes[symbol] = { v } + converted.returncodes[symbol] = { v } + skip = true end if not skip then -- 2.39.5