Add AdGuard DNS filter support

This commit is contained in:
世界 committed 2024-10-13 13:07:02 +08:00
1 parent 9dc3bb975a
commit a9209bb3e5
9 files changed
+723

No files matched your search

+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 {