mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
parent
dd9ed3958e
commit
6ba47ad0c0
4 changed files with 81 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ local res = { ["status"] = "ok" }
|
|||
local function reset_stats(ifids)
|
||||
interface.select(ifids)
|
||||
|
||||
if haveAdminPrivileges() then
|
||||
if isAdministrator() then
|
||||
if action == "reset_drops" then
|
||||
interface.resetCounters(true --[[ reset only drops --]])
|
||||
elseif action == "reset_all" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue