Quota gui improvements

- Filter flows with blocked traffic
- Filter hosts with blocked traffic
- Improve flow_details quota report
This commit is contained in:
emanuele-f 2017-06-05 18:09:56 +02:00
parent 5435d0b71b
commit 12d0e8a0bb
14 changed files with 91 additions and 28 deletions

View file

@ -162,7 +162,7 @@ local function validateOnOff(mode)
end
local function validateMode(mode)
local modes = {"all", "local", "remote"}
local modes = {"all", "local", "remote", "filtered"}
return validateChoice(modes, mode)
end
@ -246,7 +246,7 @@ local function validateBroadcastUnicast(mode)
end
local function validateFlowStatus(mode)
local modes = {"normal", "alerted"}
local modes = {"normal", "alerted", "filtered"}
return validateChoice(modes, mode)
end