Commit dc135319 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

zone-specific route-back attribute

parent 1e8119ea
...@@ -164,7 +164,7 @@ function Rule:zoneoptfrags() ...@@ -164,7 +164,7 @@ function Rule:zoneoptfrags()
chain = 'FORWARD' chain = 'FORWARD'
ofrags = combinations(zofs(zin, 'in'), zofs(zout, 'out')) ofrags = combinations(zofs(zin, 'in'), zofs(zout, 'out'))
if ofrags then if ofrags and not zout['route-back'] then
ofrags = util.filter(ofrags, ofrags = util.filter(ofrags,
function(of) function(of)
return not (of['in'] and of.out and return not (of['in'] and of.out and
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment