mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Added fixed len to score anomaly alert category percentage
This commit is contained in:
parent
bc80a86d73
commit
83ff018198
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ local function get_problematic_category(alert_type_params, is_both, is_client_or
|
|||
score_category_security = 100 - score_category_network
|
||||
end
|
||||
|
||||
return score_category_network, score_category_security
|
||||
return string.format('%.01f', score_category_network), string.format('%.01f', score_category_security)
|
||||
end
|
||||
|
||||
-- #######################################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue