mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Fix bad enterprise version reported
This commit is contained in:
parent
4309248829
commit
9539af1905
1 changed files with 5 additions and 1 deletions
|
|
@ -3081,7 +3081,11 @@ function printntopngRelease(info)
|
|||
return ""
|
||||
end
|
||||
|
||||
if(info["version.enterprise_edition"]) or (info["version.nedge_enterprise_edition"]) then
|
||||
if(info["version.enterprise_l_edition"]) then
|
||||
print(" Enterprise L")
|
||||
elseif(info["version.enterprise_m_edition"]) then
|
||||
print(" Enterprise M")
|
||||
elseif(info["version.enterprise_edition"]) or (info["version.nedge_enterprise_edition"]) then
|
||||
print(" Enterprise")
|
||||
elseif(info["version.nedge_edition"] or info["pro.release"]) then
|
||||
print(" Professional")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue