mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 16:30:10 +00:00
Implement per-network protocol shaping
This commit is contained in:
parent
9a559438a9
commit
d52dc77e36
11 changed files with 649 additions and 269 deletions
|
|
@ -511,10 +511,10 @@ print [[
|
|||
print("</ul>")
|
||||
end
|
||||
|
||||
print('<A class="btn btn-default btn-xs" HREF="'..ntop.getHttpPrefix()..'/lua/if_stats.lua?page=filtering&new_network='..host["ip"])
|
||||
print('<A class="btn btn-default btn-xs" HREF="'..ntop.getHttpPrefix()..'/lua/if_stats.lua?page=filtering&view_network='..host["ip"])
|
||||
if(host["ip"]:match(":")) then print("/128") else print("/32") end
|
||||
if(host["vlan"] ~= nil) then print("&new_vlan="..host["vlan"]) end
|
||||
print("&csrf="..ntop.getRandomCSRFValue())
|
||||
print("@")
|
||||
if(host["vlan"] ~= nil) then print(""..host["vlan"]) else print("0") end
|
||||
print('">Modify Host Traffic Policy</A></div>')
|
||||
|
||||
if(host["bridge.ingress_shaper_id"] ~= nil) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue