From 9b4386e0f1e91312d90387ce10780f62f7980346 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 20 May 2008 16:31:58 +0000 Subject: * ffluci: fix internal property in sys/iptparser.lua --- core/src/sys/iptparser.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core') diff --git a/core/src/sys/iptparser.lua b/core/src/sys/iptparser.lua index 4e2c0d680..3e518d41c 100644 --- a/core/src/sys/iptparser.lua +++ b/core/src/sys/iptparser.lua @@ -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 -- cgit v1.2.3