Remove debug code from last commit
authorSteven Barth <steven@midlink.org>
Wed, 8 Oct 2008 21:47:26 +0000 (21:47 +0000)
committerSteven Barth <steven@midlink.org>
Wed, 8 Oct 2008 21:47:26 +0000 (21:47 +0000)
libs/sys/luasrc/sys.lua

index a88afaf..e752e4f 100644 (file)
@@ -264,7 +264,7 @@ end
 function net.conntrack()
        local connt = {}
        if luci.fs.access("/proc/net/nf_conntrack") then
-               for line in io.lines("/tmp/nf_conntrack") do
+               for line in io.lines("/proc/net/nf_conntrack") do
                        local entry = _parse_mixed_record(line, " +")
                        entry.layer3 = entry[1]
                        entry.layer4 = entry[2]