Adds flow alert for flows that don't get purged

This commit is contained in:
Simone Mainardi 2019-01-17 17:04:47 +01:00
parent 2fc083b50b
commit 66783c91d5
4 changed files with 12 additions and 1 deletions

View file

@ -2512,6 +2512,7 @@ function getFlowStatus(status, flowstatus_info)
elseif(status == 17) then return("<font color=orange>"..i18n("flow_details.elephant_flow_l2r").."</font>")
elseif(status == 18) then return("<font color=orange>"..i18n("flow_details.elephant_flow_r2l").."</font>")
elseif(status == 19) then return("<font color=orange>"..i18n("flow_details.longlived_flow").."</font>")
elseif(status == 20) then return("<font color=orange>"..i18n("flow_details.not_purged").."</font>")
else return("<font color=orange>"..i18n("flow_details.unknown_status",{status=status}).."</font>")
end
end