aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 436fbfa..053e206 100644
--- a/awall/modules/filter.lua
+++ b/awall/modules/filter.lua
@@ -181,7 +181,8 @@ function LoggingRule:combinelog(ofrags, log, action, target)
end
function LoggingRule:mangleoptfrags(ofrags)
- return self:combinelog(ofrags, self.log, self.action, self:target())
+ return self:customtarget() and ofrags or
+ self:combinelog(ofrags, self.log, self.action, self:target())
end