This website works better with JavaScript.
Home
Explore
Help
Sign In
mirrors
/
rspamd
mirror of
https://github.com/vstakhov/rspamd.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
159
Wiki
Activity
Browse Source
[Minor] Skip ASN checks for local IPs
tags/1.7.7
Vsevolod Stakhov
5 years ago
parent
8f8ec4a15b
commit
71a419f1ba
1 changed files
with
1 additions
and
1 deletions
Split View
Show Diff Stats
1
1
src/plugins/lua/asn.lua
+ 1
- 1
src/plugins/lua/asn.lua
View File
@@ -78,7 +78,7 @@ local function asn_check(task)
end
local ip = task:get_from_ip()
if not (ip and ip:is_valid()) then return end
if not (ip and ip:is_valid())
or ip:is_local()
then return end
asn_check_func[options['provider_type']](ip)
end
Write
Preview
Loading…
Cancel
Save