Fix hosts DNS server

This commit is contained in:
k9982874
2025-07-08 13:12:24 +08:00
committed by 世界
parent 32873d06bc
commit 0c523980ff
5 changed files with 24 additions and 10 deletions
+2 -2
View File
@@ -316,8 +316,8 @@ type LegacyDNSServerOptions struct {
}
type HostsDNSServerOptions struct {
Path badoption.Listable[string] `json:"path,omitempty"`
Predefined badjson.TypedMap[string, badoption.Listable[netip.Addr]] `json:"predefined,omitempty"`
Path badoption.Listable[string] `json:"path,omitempty"`
Predefined *badjson.TypedMap[string, badoption.Listable[netip.Addr]] `json:"predefined,omitempty"`
}
type LocalDNSServerOptions struct {