filtering: imp tests

This commit is contained in:
Stanislav Chzhen
2023-05-15 10:33:52 +03:00
parent 1f2ba07eae
commit b34a8c169c
2 changed files with 3 additions and 3 deletions

View File

@@ -27,8 +27,8 @@ func (d *DNSFilter) processDNSRewrites(dnsr []*rules.NetworkRule) (res Result) {
slices.SortFunc(dnsr, rewriteSortsBefore)
for _, nr := range dnsr {
if containsWildcard(nr) {
for i, nr := range dnsr {
if i > 0 && containsWildcard(nr) {
break
}