Skip to content

Commit

Permalink
modules/workarounds: fix module initialisation.
Browse files Browse the repository at this point in the history
Rename config to init, which is called when a module is loaded.
It seems it's been broken for a while.
  • Loading branch information
menakite authored and vcunat committed Sep 6, 2024
1 parent 3c5da30 commit 18d88a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/workarounds/workarounds.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
Expand Down

0 comments on commit 18d88a8

Please sign in to comment.