fix all rules check

This commit is contained in:
Pascal Fischer 2023-06-28 03:03:01 +02:00
parent 51878659f8
commit 33a155d9aa

View File

@ -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
}