mirror of
https://github.com/safing/portmaster
synced 2025-09-02 02:29:12 +00:00
Return mitigation level normal instead of off for no threads
This commit is contained in:
parent
5d901f5f88
commit
ea1c91be4e
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ func getHighestMitigationLevel() uint8 {
|
||||||
threats.RLock()
|
threats.RLock()
|
||||||
defer threats.RUnlock()
|
defer threats.RUnlock()
|
||||||
|
|
||||||
var level uint8
|
var level uint8 = SecurityLevelNormal
|
||||||
for _, lvl := range threats.list {
|
for _, lvl := range threats.list {
|
||||||
if lvl > level {
|
if lvl > level {
|
||||||
level = lvl
|
level = lvl
|
||||||
|
|
Loading…
Add table
Reference in a new issue