Commit 2af9ceba authored by Kaarle Ritvanen's avatar Kaarle Ritvanen
Browse files

nat: remove unused parameter

parent bb7114b2
--[[ --[[
NAT module for Alpine Wall NAT module for Alpine Wall
Copyright (C) 2012-2016 Kaarle Ritvanen Copyright (C) 2012-2020 Kaarle Ritvanen
See LICENSE file for license details See LICENSE file for license details
]]-- ]]--
...@@ -59,7 +59,6 @@ local DNATRule = class(NATRule) ...@@ -59,7 +59,6 @@ local DNATRule = class(NATRule)
function DNATRule:init(...) function DNATRule:init(...)
DNATRule.super(self):init(...) DNATRule.super(self):init(...)
self.params = { self.params = {
forbidif='out',
subject='destination', subject='destination',
chains={'OUTPUT', 'PREROUTING'}, chains={'OUTPUT', 'PREROUTING'},
target='DNAT', target='DNAT',
...@@ -73,7 +72,6 @@ local SNATRule = class(NATRule) ...@@ -73,7 +72,6 @@ local SNATRule = class(NATRule)
function SNATRule:init(...) function SNATRule:init(...)
SNATRule.super(self):init(...) SNATRule.super(self):init(...)
self.params = { self.params = {
forbidif='in',
subject='source', subject='source',
chains={'INPUT', 'POSTROUTING'}, chains={'INPUT', 'POSTROUTING'},
target='SNAT', target='SNAT',
......
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