summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/sys.lua
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2022-08-01 11:57:03 +0200
committerJo-Philipp Wich <jo@mein.io>2022-08-01 11:57:30 +0200
commitabd9125fbf5e2fadc0c5ae293496680df08e6e1b (patch)
tree926595cf9c026aeacefeb7cadc9c55d731d263b9 /modules/luci-base/luasrc/sys.lua
parent67cf91b4ae260a20a3478a6f7c2a991ff51d19f8 (diff)
luci-base: sys.lua: make timeout optional when parsing conntrack entries
Fixes: #5909 Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'modules/luci-base/luasrc/sys.lua')
-rw-r--r--modules/luci-base/luasrc/sys.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/sys.lua b/modules/luci-base/luasrc/sys.lua
index 71db04acf8..e6eb762e48 100644
--- a/modules/luci-base/luasrc/sys.lua
+++ b/modules/luci-base/luasrc/sys.lua
@@ -295,7 +295,7 @@ function net.conntrack(callback)
tuples = rest
end
- if fam and l3 and l4 and timeout and not tuples:match("^TIME_WAIT ") then
+ if fam and l3 and l4 and not tuples:match("^TIME_WAIT ") then
l4 = nixio.getprotobynumber(l4)
local entry = {