Showing
1 changed file
with
1 additions
and
1 deletions
@@ -135,7 +135,7 @@ local query_limit_ip_access_conf=function() | @@ -135,7 +135,7 @@ local query_limit_ip_access_conf=function() | ||
135 | if string.find(k,"^white_ips%[*") then | 135 | if string.find(k,"^white_ips%[*") then |
136 | table.insert(white_ips,v) | 136 | table.insert(white_ips,v) |
137 | elseif string.find(k,"^degrade_methods%[*") then | 137 | elseif string.find(k,"^degrade_methods%[*") then |
138 | - degrade_methods[degrade_methods] = 1 | 138 | + table.insert(degrade_methods,v) |
139 | end | 139 | end |
140 | end | 140 | end |
141 | limit_ip_access["white_ips"]=white_ips | 141 | limit_ip_access["white_ips"]=white_ips |
-
Please register or login to post a comment