aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-10-07 17:44:36 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-10-07 21:45:28 +0300
commit61db7099f10c34818b00b9c36126a29ae2aa829f (patch)
treedfa3c57af76fb7dfa82464fdd4dcedf48dd7b9b6
parent299478e5e9314a36b04b438faa8a57c1e7538fa0 (diff)
downloadawall-61db7099f10c34818b00b9c36126a29ae2aa829f.tar.bz2
awall-61db7099f10c34818b00b9c36126a29ae2aa829f.tar.xz
LimitReference.recentofrags: add missing error message
-rw-r--r--awall/modules/filter.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/awall/modules/filter.lua b/awall/modules/filter.lua
index d5240f1..2cb5535 100644
--- a/awall/modules/filter.lua
+++ b/awall/modules/filter.lua
@@ -90,7 +90,8 @@ end
function LimitReference:recentofrags()
local ofs = self:recentmask()
- return ofs and combinations(ofs, {{match='--set'}}) or self:error(MASK_ERROR)
+ return ofs and combinations(ofs, {{match='--set'}}) or
+ self:error('Invalid address mask for limit')
end