Add custom prefix support in EDNS0 client subnet options

This commit is contained in:
世界 committed 2024-05-21 15:12:05 +08:00
1 parent 0e120f8a44
commit da9e22b4e6
15 files changed
+96 -41

No files matched your search

+1 -1
View File
@@ -86,7 +86,7 @@ type DNSRule interface {
Rule
DisableCache() bool
RewriteTTL() *uint32
ClientSubnet() *netip.Addr
ClientSubnet() *netip.Prefix
WithAddressLimit() bool
MatchAddressLimit(metadata *InboundContext) bool
}