Skip to content

Commit

Permalink
Fix client_subnet not applied to logical rules
Browse files Browse the repository at this point in the history
  • Loading branch information
dyhkwong committed May 10, 2024
1 parent 0cfc55a commit e590889
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions route/rule_dns.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,7 @@ func NewLogicalDNSRule(router adapter.Router, logger log.ContextLogger, options
},
disableCache: options.DisableCache,
rewriteTTL: options.RewriteTTL,
clientSubnet: (*netip.Addr)(options.ClientSubnet),
}
switch options.Mode {
case C.LogicalTypeAnd:
Expand Down

0 comments on commit e590889

Please sign in to comment.