Allows alerts to be configured on view interfaces

This commit is contained in:
Simone Mainardi 2019-07-19 12:43:31 +02:00
parent 893073dcd6
commit 5270d09490
4 changed files with 5 additions and 6 deletions

View file

@ -646,8 +646,7 @@ function areAlertsEnabled()
end
function mustScanAlerts(ifstats)
-- can't alert on view interfaces as checkpoints will collide for their underlying real interfaces
return areAlertsEnabled() and not ifstats["isView"]
return areAlertsEnabled()
end
function hasAlertsDisabled()