mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Print product model and cloud mode
This commit is contained in:
parent
ce5bc4e090
commit
dcbc2f9c48
1 changed files with 4 additions and 2 deletions
|
|
@ -1020,8 +1020,6 @@ function getNtopngRelease(ntopng_info, verbose)
|
|||
|
||||
if ntopng_info.oem or ntopng_info["version.nedge_edition"] then
|
||||
release = ""
|
||||
elseif (ntopng_info["version.cloud_edition"]) then
|
||||
release = "Cloud"
|
||||
elseif (ntopng_info["version.enterprise_xl_edition"]) then
|
||||
release = "Enterprise XL"
|
||||
elseif (ntopng_info["version.enterprise_l_edition"]) then
|
||||
|
|
@ -1036,6 +1034,10 @@ function getNtopngRelease(ntopng_info, verbose)
|
|||
release = "Community"
|
||||
end
|
||||
|
||||
if (ntopng_info["version.cloud_edition"]) then
|
||||
release = release .. " (Cloud)"
|
||||
end
|
||||
|
||||
if not isEmptyString(release) and ntopng_info["version.embedded_edition"] then
|
||||
release = release .. " (Embedded)"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue