mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 00:40:10 +00:00
Implement flashstart category blocking policy
This commit is contained in:
parent
4a583c30a4
commit
e96467d95e
3 changed files with 26 additions and 4 deletions
|
|
@ -1044,7 +1044,7 @@ end
|
|||
|
||||
if (_POST["blocked_categories"] ~= nil) then
|
||||
local sites_categories = split(_POST["blocked_categories"], ",")
|
||||
shaper_utils.setBlockedSitesCategories(ifid, sites_categories)
|
||||
shaper_utils.setBlockedSitesCategories(ifid, target_pool, sites_categories)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -1189,7 +1189,7 @@ end
|
|||
local sites_categories = ntop.getSiteCategories()
|
||||
if sites_categories ~= nil then
|
||||
-- flashstart is enabled here
|
||||
local blocked_categories = shaper_utils.getBlockedSitesCategories(ifid)
|
||||
local blocked_categories = shaper_utils.getBlockedSitesCategories(ifid, selected_pool.id)
|
||||
|
||||
print[[<br><br>
|
||||
<b>Flashstart Categories</b><br>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue