Fixes pool ids associated with interface alerts

This commit is contained in:
Simone Mainardi 2020-07-21 15:24:19 +02:00
parent 827fba5ee2
commit dce5623bc2
3 changed files with 4 additions and 3 deletions

View file

@ -424,7 +424,7 @@ function alerts_api.interfaceAlertEntity(ifid)
return {
alert_entity = alert_consts.alert_entities.interface,
-- NOTE: keep in sync with C (Alertable::setEntityValue)
alert_entity_val = string.format("iface_%d", ifid)
alert_entity_val = string.format("%d", ifid)
}
end