mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-23 06:18:46 +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 ok {
|
||||
return false
|
||||
}
|
||||
|
||||
_, ok = rules["::"]
|
||||
if ok {
|
||||
if len(rules["0.0.0.0"]) > 0 || len(rules["::"]) > 0 {
|
||||
return false
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user