mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Added 0 in case of nil score
This commit is contained in:
parent
e3f28b7f9c
commit
a31bc28cfc
1 changed files with 0 additions and 3 deletions
|
|
@ -5532,9 +5532,6 @@ function map_score_to_severity(score)
|
|||
return ntop.mapScoreToSeverity(score)
|
||||
end
|
||||
|
||||
traceError(TRACE_ERROR, TRACE_CONSOLE, "Nil score value instead of number")
|
||||
tprint(debug.traceback())
|
||||
|
||||
return ntop.mapScoreToSeverity(0)
|
||||
end
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue