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:
e317c75
)
Remove debug code from last commit
author
Steven Barth
<steven@midlink.org>
Wed, 8 Oct 2008 21:47:26 +0000
(21:47 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 8 Oct 2008 21:47:26 +0000
(21:47 +0000)
libs/sys/luasrc/sys.lua
patch
|
blob
|
history
diff --git
a/libs/sys/luasrc/sys.lua
b/libs/sys/luasrc/sys.lua
index
a88afaf
..
e752e4f
100644
(file)
--- a/
libs/sys/luasrc/sys.lua
+++ b/
libs/sys/luasrc/sys.lua
@@
-264,7
+264,7
@@
end
function net.conntrack()
local connt = {}
if luci.fs.access("/proc/net/nf_conntrack") then
function net.conntrack()
local connt = {}
if luci.fs.access("/proc/net/nf_conntrack") then
- for line in io.lines("/
tmp
/nf_conntrack") do
+ for line in io.lines("/
proc/net
/nf_conntrack") do
local entry = _parse_mixed_record(line, " +")
entry.layer3 = entry[1]
entry.layer4 = entry[2]
local entry = _parse_mixed_record(line, " +")
entry.layer3 = entry[1]
entry.layer4 = entry[2]