Fixes parsing of IP addresses and CIDRs for custom protocols

Fixes #4050
This commit is contained in:
Simone Mainardi 2020-06-17 18:49:35 +02:00
parent 93e42d4df0
commit c8db38a06c
2 changed files with 21 additions and 8 deletions

View file

@ -778,6 +778,7 @@ local function validateNetwork(i)
return false
end
end
http_lint.validateNetwork = validateNetwork
local function validateHost(p)
local host = hostkey2hostinfo(p)