mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
parent
9e26472dd2
commit
d11aa964fb
5 changed files with 52 additions and 15 deletions
|
|
@ -145,7 +145,9 @@ function dumpInterfaceStats(interface_name)
|
|||
end
|
||||
end
|
||||
|
||||
if recording_utils.isAvailable() then
|
||||
if recording_utils.isManualServiceActive(ifstats.id) then
|
||||
res["traffic_recording"] = "recording"
|
||||
elseif recording_utils.isAvailable() then
|
||||
if recording_utils.isEnabled(ifstats.id) then
|
||||
if recording_utils.isActive(ifstats.id) then
|
||||
res["traffic_recording"] = "recording"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue