Fix os check

This commit is contained in:
Alfredo Cardigliano 2024-06-04 16:00:59 +00:00
parent 875878f306
commit 64c3d01141

View file

@ -176,7 +176,7 @@ function sys_utils.loadConntrack()
local info = ntop.getInfo(false)
local os = info.OS
if not string.find(os, "Ubuntu 20%.") then
if string.find(os, "Ubuntu 18%.") then
sys_utils.execCmd("modprobe nf_conntrack_ipv4")
end
end