Extract private upstream for iOS and fix function headers for other OS

This commit is contained in:
Pascal Fischer
2023-12-06 12:08:12 +01:00
parent 5f96c566ab
commit ad1cf388fb
8 changed files with 68 additions and 39 deletions

View File

@@ -138,7 +138,7 @@ func prepareResolvConfContent(searchDomains, nameServers, others []string) bytes
return buf
}
func searchDomains(config hostDNSConfig) []string {
func searchDomains(config HostDNSConfig) []string {
listOfDomains := make([]string, 0)
for _, dConf := range config.domains {
if dConf.matchOnly || dConf.disabled {