Skip to content

Commit

Permalink
fix: missing insertTriePolicy when process rule-set
Browse files Browse the repository at this point in the history
  • Loading branch information
wwqgtxx committed Dec 8, 2023
1 parent 1b527fd commit 1d1841f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dns/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,7 @@ func NewResolver(config Config) *Resolver {
case "rule-set":
if p, ok := config.RuleProviders[key]; ok {
log.Debugln("Adding rule-set policy: %s ", key)
insertTriePolicy()
r.policy = append(r.policy, domainSetPolicy{
domainSetProvider: p,
dnsClients: cacheTransform(nameserver),
Expand Down

0 comments on commit 1d1841f

Please sign in to comment.