mirror of
https://github.com/shtorm-7/sing-box-extended.git
synced 2026-05-27 22:51:49 +03:00
Add AdGuard DNS filter support
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user