Add AdGuard DNS filter support

This commit is contained in:
世界
2024-07-26 18:03:56 +08:00
parent 0f82334f69
commit 8967423f4b
11 changed files with 706 additions and 3 deletions
+3
View File
@@ -166,6 +166,9 @@ type DefaultHeadlessRule struct {
DomainMatcher *domain.Matcher `json:"-"`
SourceIPSet *netipx.IPSet `json:"-"`
IPSet *netipx.IPSet `json:"-"`
AdGuardDomain Listable[string] `json:"-"`
AdGuardDomainMatcher *domain.AdGuardMatcher `json:"-"`
}
func (r DefaultHeadlessRule) IsValid() bool {