Comparison

mod_firewall/definitions.lib.lua @ 2523:a3a18d09ae8a

mod_firewall: Also handle HTTPS for lists
author Matthew Wild <mwild1@gmail.com>
date Mon, 20 Feb 2017 09:26:27 +0000
parent 2522:72cbec103709
child 2528:44a71584521d
comparison
equal deleted inserted replaced
2522:72cbec103709 2523:a3a18d09ae8a
134 end 134 end
135 return self.items and self.items[item] == true; 135 return self.items and self.items[item] == true;
136 end; 136 end;
137 }; 137 };
138 }; 138 };
139 list_backends.https = list_backends.http;
139 140
140 local function create_list(list_backend, list_def, opts) 141 local function create_list(list_backend, list_def, opts)
141 if not list_backends[list_backend] then 142 if not list_backends[list_backend] then
142 error("Unknown list type '"..list_backend.."'", 0); 143 error("Unknown list type '"..list_backend.."'", 0);
143 end 144 end