mirror of
https://github.com/netbirdio/netbird.git
synced 2025-02-08 22:39:55 +01:00
fix all rules check
This commit is contained in:
parent
51878659f8
commit
33a155d9aa
@ -238,13 +238,7 @@ func (m *Manager) dropFilter(packetData []byte, rules map[string]map[string]Rule
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
_, ok := rules["0.0.0.0"]
|
if len(rules["0.0.0.0"]) > 0 || len(rules["::"]) > 0 {
|
||||||
if ok {
|
|
||||||
return false
|
|
||||||
}
|
|
||||||
|
|
||||||
_, ok = rules["::"]
|
|
||||||
if ok {
|
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user