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 e752e4f..0e4a354 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]