mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-03-05 21:47:31 +00:00
chore: simplify DNSPrefer serialization process
This commit is contained in:
@@ -189,7 +189,7 @@ func NewSsh(option SshOption) (*Ssh, error) {
|
||||
udp: false,
|
||||
iface: option.Interface,
|
||||
rmark: option.RoutingMark,
|
||||
prefer: C.NewDNSPrefer(option.IPVersion),
|
||||
prefer: option.IPVersion,
|
||||
},
|
||||
option: &option,
|
||||
config: &config,
|
||||
|
||||
Reference in New Issue
Block a user