From 18d88a87de5cad3918761130b5d250ac25b5e2a0 Mon Sep 17 00:00:00 2001 From: menakite <29005531+menakite@users.noreply.github.com> Date: Fri, 16 Aug 2024 06:12:33 +0200 Subject: [PATCH] modules/workarounds: fix module initialisation. Rename config to init, which is called when a module is loaded. It seems it's been broken for a while. --- modules/workarounds/workarounds.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/workarounds/workarounds.lua b/modules/workarounds/workarounds.lua index 4ce7c4789..4cbfdb9dd 100644 --- a/modules/workarounds/workarounds.lua +++ b/modules/workarounds/workarounds.lua @@ -4,7 +4,7 @@ if not policy then modules.load('policy') end local M = {} -- the module -function M.config() +function M.init() policy.add(policy.suffix(policy.FLAGS('NO_0X20'), { -- https://github.com/DNS-OARC/dns-violations/blob/master/2017/DVE-2017-0003.md todname('avqs.mcafee.com'), todname('avts.mcafee.com'),