Explorar el Código

[Minor] Try all hostname regexps to find the most significant one

tags/1.6.0
Vsevolod Stakhov hace 7 años
padre
commit
02fcaa6b27
Se han modificado 1 ficheros con 3 adiciones y 2 borrados
  1. 3
    2
      src/plugins/lua/hfilter.lua

+ 3
- 2
src/plugins/lua/hfilter.lua Ver fichero

@@ -389,8 +389,9 @@ local function hfilter(task)
else
for regexp,weight in pairs(checks_hellohost) do
if check_regexp(hostname, regexp) then
weight_hostname = weight
break
if weight > weight_hostname then
weight_hostname = weight
end
end
end
end

Cargando…
Cancelar
Guardar