...
|
...
|
@@ -134,7 +134,7 @@ local query_limit_ip_access_conf=function() |
|
|
if string.find(k,"^white_ips%[*") then
|
|
|
table.insert(white_ips,v)
|
|
|
elseif string.find(k,"^degrade_methods%[*") then
|
|
|
d_method = split_str_list("v", ",", 2)
|
|
|
d_method = split_str_list(v, ",", 2)
|
|
|
local e_code = d_method[2]
|
|
|
if e_code == nil then e_code = 9999991 end
|
|
|
limit_ip_access.degrades[d_method[1]] = e_code
|
...
|
...
|
|