summaryrefslogtreecommitdiffstats
path: root/awall/model.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awall/model.lua')
-rw-r--r--awall/model.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/awall/model.lua b/awall/model.lua
index 264a6b3..fe31cbf 100644
--- a/awall/model.lua
+++ b/awall/model.lua
@@ -43,6 +43,10 @@ end
function ConfigObject:error(msg) error(self.location..': '..msg) end
+function ConfigObject:warning(msg)
+ io.stderr:write(self.location..': '..msg..'\n')
+end
+
function ConfigObject:trules() return {} end
function ConfigObject:info()