summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libs/sys/luasrc/sys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/sys/luasrc/sys.lua b/libs/sys/luasrc/sys.lua
index a88afafa1b..e752e4f1d3 100644
--- a/libs/sys/luasrc/sys.lua
+++ b/libs/sys/luasrc/sys.lua
@@ -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]