Mercurial > prosody-modules
comparison mod_firewall/mod_firewall.lua @ 5539:fa8435a27f7e
mod_firewall: enable marks by default
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 08 Jun 2023 17:00:04 +0100 |
| parents | 32a9817c7516 |
| children | 048284447643 |
comparison
equal
deleted
inserted
replaced
| 5538:40f8b9cc2065 | 5539:fa8435a27f7e |
|---|---|
| 314 | 314 |
| 315 local definition_handlers = module:require("definitions"); | 315 local definition_handlers = module:require("definitions"); |
| 316 local condition_handlers = module:require("conditions"); | 316 local condition_handlers = module:require("conditions"); |
| 317 local action_handlers = module:require("actions"); | 317 local action_handlers = module:require("actions"); |
| 318 | 318 |
| 319 if module:get_option_boolean("firewall_experimental_user_marks", false) then | 319 if module:get_option_boolean("firewall_experimental_user_marks", true) then |
| 320 module:require"marks"; | 320 module:require"marks"; |
| 321 end | 321 end |
| 322 | 322 |
| 323 local function new_rule(ruleset, chain) | 323 local function new_rule(ruleset, chain) |
| 324 assert(chain, "no chain specified"); | 324 assert(chain, "no chain specified"); |
