Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
awall
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alpine
awall
Commits
1e9f63e5
Commit
1e9f63e5
authored
Oct 18, 2017
by
Kaarle Ritvanen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rule.combine: include target chains in result
parent
5e0f90f4
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
513 additions
and
1 deletion
+513
-1
awall/model.lua
awall/model.lua
+1
-1
test/output/dump
test/output/dump
+320
-0
test/output/rules-save
test/output/rules-save
+96
-0
test/output/rules6-save
test/output/rules6-save
+96
-0
No files found.
awall/model.lua
View file @
1e9f63e5
...
...
@@ -481,7 +481,7 @@ function M.Rule:combine(ofs1, ofs2, key, unique)
else
table.insert
(
res
,
of
)
end
end
return
res
return
extend
(
res
,
filter
(
ofs2
,
function
(
of
)
return
of
.
chain
end
))
end
...
...
test/output/dump
View file @
1e9f63e5
This diff is collapsed.
Click to expand it.
test/output/rules-save
View file @
1e9f63e5
This diff is collapsed.
Click to expand it.
test/output/rules6-save
View file @
1e9f63e5
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment