diff options
author | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2012-10-03 07:30:59 +0000 |
---|---|---|
committer | Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi> | 2012-10-03 07:30:59 +0000 |
commit | dc13531970555ba4cc251c12c4803169f538ccc8 (patch) | |
tree | 1aa90acd44a8c6368c1605ac457a4c99041ee985 | |
parent | 1e8119ea85862f00eb93c7ed9ba0d450a06cee38 (diff) | |
download | awall-dc13531970555ba4cc251c12c4803169f538ccc8.tar.bz2 awall-dc13531970555ba4cc251c12c4803169f538ccc8.tar.xz |
zone-specific route-back attributev0.2.11
-rw-r--r-- | awall/model.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/awall/model.lua b/awall/model.lua index 704f068..fe7ffdc 100644 --- a/awall/model.lua +++ b/awall/model.lua @@ -164,7 +164,7 @@ function Rule:zoneoptfrags() chain = 'FORWARD' ofrags = combinations(zofs(zin, 'in'), zofs(zout, 'out')) - if ofrags then + if ofrags and not zout['route-back'] then ofrags = util.filter(ofrags, function(of) return not (of['in'] and of.out and |