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 0ab60fd..8124709 100644 --- a/awall/model.lua +++ b/awall/model.lua @@ -436,8 +436,9 @@ function 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 |