mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
scripts/lua/flows_stats.lua: do not show dropdown for network historical chart
This commit removes the dropdown for network historical charts because, as of now, only bytes are stored in RRD for networks.
This commit is contained in:
parent
6b3a99d841
commit
2b3cbc7fc7
1 changed files with 1 additions and 1 deletions
|
|
@ -235,7 +235,7 @@ end
|
|||
if (page == "historical" and _GET["network_name"] ~= nil) then
|
||||
local netname_format = string.gsub(_GET["network_name"], "_", "/")
|
||||
local rrd_file = getPathFromKey(netname_format).."/bytes.rrd"
|
||||
drawRRD(ifstats.id, nil, rrd_file, "1d", url.."&page=historical", 1, os.time() , "", nil)
|
||||
drawRRD(ifstats.id, nil, rrd_file, "1d", url.."&page=historical", 0, os.time() , "", nil)
|
||||
end
|
||||
|
||||
dofile(dirs.installdir .. "/scripts/lua/inc/footer.lua")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue