diff options
author | menakite <29005531+menakite@users.noreply.github.com> | 2024-08-16 06:12:33 +0200 |
---|---|---|
committer | Vladimír Čunát <vladimir.cunat@nic.cz> | 2024-09-06 15:57:21 +0200 |
commit | 18d88a87de5cad3918761130b5d250ac25b5e2a0 (patch) | |
tree | 71a369c66445a5db8999a0c9591344fbc8c1ec6c /modules | |
parent | Merge !1610: tests/integration/deckard: update to latest master (diff) | |
download | knot-resolver-18d88a87de5cad3918761130b5d250ac25b5e2a0.tar.xz knot-resolver-18d88a87de5cad3918761130b5d250ac25b5e2a0.zip |
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.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/workarounds/workarounds.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/workarounds/workarounds.lua b/modules/workarounds/workarounds.lua index 4ce7c478..4cbfdb9d 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'), |