Fixed a typo
authorSteven Barth <steven@midlink.org>
Wed, 8 Oct 2008 22:44:06 +0000 (22:44 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 8 Oct 2008 22:44:06 +0000 (22:44 +0000)
libs/sys/luasrc/sys.lua

index a4592d3e13c1d26f346a9c8ac25e98c1057b789d..bd072ee69886f5e6eadd0b70fa0d5bb942d3f343 100644 (file)
@@ -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]