mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix os check
This commit is contained in:
parent
875878f306
commit
64c3d01141
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue