Software /
code /
prosody-modules
Changeset
2579:5e948d1392a5
mod_firewall: Add some comments
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 25 Feb 2017 16:55:02 +0000 |
parents | 2578:6dbd07f9a868 |
children | 2580:aaff2716f022 |
files | mod_firewall/mod_firewall.lua |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_firewall/mod_firewall.lua Sat Feb 25 16:54:52 2017 +0000 +++ b/mod_firewall/mod_firewall.lua Sat Feb 25 16:55:02 2017 +0000 @@ -5,7 +5,11 @@ local it = require "util.iterators"; local set = require "util.set"; +-- [definition_type] = definition_factory(param) local definitions = module:shared("definitions"); + +-- When a definition instance has been instantiated, it lives here +-- [definition_type][definition_name] = definition_object local active_definitions = { ZONE = { -- Default zone that includes all local hosts