Traffic shaping protocols/flows are not immediately refreshed

This commit is contained in:
Luca Deri 2016-03-18 19:48:00 +01:00
parent 1eac3c5ac4
commit 744c0e88c0
10 changed files with 53 additions and 29 deletions

View file

@ -438,7 +438,8 @@ for _key, _value in pairsByKeys(vals, funct) do
-- if(value["category"] ~= nil) then print (", \"column_category\" : \"" .. value["category"] .. "\", ") else print (",") end
print (", \"column_proto_l4\" : \"")
if((value["tcp.seq_problems"] == true) or (value["flow_goodput.low"] == true)) then
if ((((value["proto.l4"] == "TCP") or (value["proto.l4"] == "UDP")))
and ((value["tcp.seq_problems"] == true) or (value["flow_goodput.low"] == true))) then
print("<font color=#B94A48>"..value["proto.l4"].."</font>")
else
print(value["proto.l4"])