aboutsummaryrefslogtreecommitdiffstats
path: root/awall/modules/nat.lua
diff options
context:
space:
mode:
Diffstat (limited to 'awall/modules/nat.lua')
-rw-r--r--awall/modules/nat.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/awall/modules/nat.lua b/awall/modules/nat.lua
index 6ec39a2..5559d11 100644
--- a/awall/modules/nat.lua
+++ b/awall/modules/nat.lua
@@ -14,13 +14,6 @@ local model = awall.model
local NATRule = model.class(model.ForwardOnlyRule)
-function NATRule:checkzoneoptfrag(ofrag)
- local iface = ofrag[self.params.forbidif]
- if iface then
- self:error('Cannot specify '..self.params.forbidif..'bound interface ('..iface..')')
- end
-end
-
function NATRule:trules()
local res = {}
for i, ofrags in ipairs(model.ForwardOnlyRule.trules(self)) do