Fixed a typo

This commit is contained in:
Steven Barth 2008-10-08 22:44:06 +00:00
parent fa40172915
commit 38d6f14c9b

View file

@ -275,7 +275,7 @@ function net.conntrack()
connt[#connt+1] = entry connt[#connt+1] = entry
end end
elseif luci.fs.access("/proc/net/ip_conntrack") then 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, " +") local entry = _parse_mixed_record(line, " +")
entry.layer3 = "ipv4" entry.layer3 = "ipv4"
entry.layer4 = entry[1] entry.layer4 = entry[1]