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

index e752e4f1d35306aeba24621d7da8b683bbacdbd4..0e4a3543f5aeaa06f1fdb4d7a9833e16a3ce71d8 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]