diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2008-05-20 16:31:58 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2008-05-20 16:31:58 +0000 |
commit | 9b4386e0f1e91312d90387ce10780f62f7980346 (patch) | |
tree | cc2f6bff2f20fa4d97f922dc74590e1b1f2df719 /core/src | |
parent | 95ff2b54ab8b8d97e0ae8f252b37cd58fec645e4 (diff) |
* ffluci: fix internal property in sys/iptparser.lua
Diffstat (limited to 'core/src')
-rw-r--r-- | core/src/sys/iptparser.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/core/src/sys/iptparser.lua b/core/src/sys/iptparser.lua index 4e2c0d6809..3e518d41cc 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 |