* ffluci: fix internal property in sys/iptparser.lua

This commit is contained in:
Jo-Philipp Wich 2008-05-20 16:31:58 +00:00
parent 95ff2b54ab
commit 9b4386e0f1

View file

@ -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