aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-11-03 13:16:20 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2017-11-03 13:16:20 +0200
commitce3ac0b5ad40b76cd60ba235d675eef5d4eec3f9 (patch)
treec8d24b85c25b1c6a4a303e6ceae5863ae7dea0a6
parent2b669c10e4dd8307b140375d6d0bf00e77b7666d (diff)
downloadawall-ce3ac0b5ad40b76cd60ba235d675eef5d4eec3f9.tar.bz2
awall-ce3ac0b5ad40b76cd60ba235d675eef5d4eec3f9.tar.xz
LogRule: use mangleoptfrags instead of servoptfrags
-rw-r--r--awall/modules/log.lua6
1 files changed, 2 insertions, 4 deletions
diff --git a/awall/modules/log.lua b/awall/modules/log.lua
index 4067532..cac900d 100644
--- a/awall/modules/log.lua
+++ b/awall/modules/log.lua
@@ -106,10 +106,8 @@ end
function LogRule:position() return 'prepend' end
-function LogRule:servoptfrags()
- return combinations(
- LogRule.super(self):servoptfrags(), self.log:matchofrags()
- )
+function LogRule:mangleoptfrags(ofrags)
+ return combinations(ofrags, self.log:matchofrags())
end
function LogRule:target() return self.log:target() end