diff options
-rw-r--r-- | awall/model.lua | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/awall/model.lua b/awall/model.lua index c125c87..17fbd12 100644 --- a/awall/model.lua +++ b/awall/model.lua @@ -449,8 +449,9 @@ function M.Rule:trules() combined = {} for i, ofrag in ipairs(res) do - local cc = combinations({ofrag}, addrofrags) - if #cc < #addrofrags then + local aofs = combinations(addrofrags, {{family=ofrag.family}}) + local cc = combinations({ofrag}, aofs) + if #cc < #aofs then combined = nil break end |