mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Minor chart fix
This commit is contained in:
parent
ec4b7d6e9f
commit
835e4c48ce
1 changed files with 1 additions and 1 deletions
|
|
@ -1133,7 +1133,7 @@ function singlerrd2json(ifid, host, rrdFile, start_time, end_time, rickshaw_json
|
|||
|
||||
-- Pretty printing for flowdevs/a.b.c.d/e.rrd
|
||||
local elems = split(prefixLabel, "/")
|
||||
if(not host:starts('flow_device:') and (elems[#elems] ~= nil) and (#elems > 1)) then
|
||||
if((elems[#elems] ~= nil) and (#elems > 1)) then
|
||||
prefixLabel = "Port "..elems[#elems]
|
||||
port_mode = true
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue