diff options
author | Andrew Lewis <nerf@judo.za.org> | 2016-11-16 10:17:42 +0200 |
---|---|---|
committer | Andrew Lewis <nerf@judo.za.org> | 2016-11-16 10:17:42 +0200 |
commit | 03e3d7063308dd169d5b1692ccd28403c16ddd76 (patch) | |
tree | 7eca2b3fbfd8538fd13401fabb242e9570a0924b /src/plugins/lua/dmarc.lua | |
parent | a5eef8b08ca4ea69cc3c5bb718102fe24f20a61b (diff) | |
download | rspamd-03e3d7063308dd169d5b1692ccd28403c16ddd76.tar.gz rspamd-03e3d7063308dd169d5b1692ccd28403c16ddd76.zip |
[Minor] Small polishes for Lua parts
Diffstat (limited to 'src/plugins/lua/dmarc.lua')
-rw-r--r-- | src/plugins/lua/dmarc.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/lua/dmarc.lua b/src/plugins/lua/dmarc.lua index cdbc8700e..400882755 100644 --- a/src/plugins/lua/dmarc.lua +++ b/src/plugins/lua/dmarc.lua @@ -116,6 +116,7 @@ local function dmarc_callback(task) local function dmarc_dns_cb(_, to_resolve, results, err) + task:inc_dns_req() local lookup_domain = string.sub(to_resolve, 8) if err and (err ~= 'requested record is not found' and err ~= 'no records with this name') then task:insert_result(dmarc_symbols['dnsfail'], 1.0, lookup_domain .. ' : ' .. err) |