Added 0 in case of nil score

This commit is contained in:
MatteoBiscosi 2022-07-26 15:31:16 +02:00
parent e3f28b7f9c
commit a31bc28cfc

View file

@ -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
--