* ffluci: fix internal property in sys/iptparser.lua
This commit is contained in:
parent
95ff2b54ab
commit
9b4386e0f1
1 changed files with 3 additions and 1 deletions
|
@ -193,7 +193,7 @@ function IptParser._parse_rules( self )
|
|||
local rule_details = { }
|
||||
|
||||
rule_details["table"] = tbl
|
||||
rule_details["chain"] = _chain
|
||||
rule_details["chain"] = self._chain
|
||||
rule_details["index"] = tonumber(rule_parts[1])
|
||||
rule_details["packets"] = tonumber(rule_parts[2])
|
||||
rule_details["bytes"] = tonumber(rule_parts[3])
|
||||
|
@ -215,6 +215,8 @@ function IptParser._parse_rules( self )
|
|||
end
|
||||
end
|
||||
end
|
||||
|
||||
self._chain = nil
|
||||
end
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue