Commit b46f8664 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

BaseIPTables: flush method

parent 6acc1668
......@@ -91,12 +91,14 @@ function BaseIPTables:restore(test)
end
function BaseIPTables:activate()
M.flush()
self:flush()
self:restore(false)
end
function BaseIPTables:test() self:restore(true) end
function BaseIPTables:flush() M.flush() end
M.IPTables = class(BaseIPTables)
......
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