projects
/
project
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
95ff2b5
)
* ffluci: fix internal property in sys/iptparser.lua
author
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 20 May 2008 16:31:58 +0000
(16:31 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Tue, 20 May 2008 16:31:58 +0000
(16:31 +0000)
core/src/sys/iptparser.lua
patch
|
blob
|
history
diff --git
a/core/src/sys/iptparser.lua
b/core/src/sys/iptparser.lua
index
4e2c0d6
..
3e518d4
100644
(file)
--- 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
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])
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
end
end
end
+
+ self._chain = nil
end
end