projects
/
oweals
/
luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
895ef41
)
Fixed a typo
author
Steven Barth
<steven@midlink.org>
Wed, 8 Oct 2008 22:43:43 +0000
(22:43 +0000)
committer
Steven Barth
<steven@midlink.org>
Wed, 8 Oct 2008 22:43:43 +0000
(22:43 +0000)
libs/sys/luasrc/sys.lua
patch
|
blob
|
history
diff --git
a/libs/sys/luasrc/sys.lua
b/libs/sys/luasrc/sys.lua
index e752e4f1d35306aeba24621d7da8b683bbacdbd4..0e4a3543f5aeaa06f1fdb4d7a9833e16a3ce71d8 100644
(file)
--- a/
libs/sys/luasrc/sys.lua
+++ b/
libs/sys/luasrc/sys.lua
@@
-275,7
+275,7
@@
function net.conntrack()
connt[#connt+1] = entry
end
elseif luci.fs.access("/proc/net/ip_conntrack") then
- for line in io.lines("/proc/net/
nf
_conntrack") do
+ for line in io.lines("/proc/net/
ip
_conntrack") do
local entry = _parse_mixed_record(line, " +")
entry.layer3 = "ipv4"
entry.layer4 = entry[1]