- clients: fix race introduced by commit 07db927; update tech doc
This commit is contained in:
2
dns.go
2
dns.go
@@ -216,7 +216,7 @@ func generateServerConfig() dnsforward.ServerConfig {
|
||||
// If a client has his own settings, apply them
|
||||
func applyClientSettings(clientAddr string, setts *dnsfilter.RequestFilteringSettings) {
|
||||
c, ok := clientFind(clientAddr)
|
||||
if !ok || c == nil || !c.UseOwnSettings {
|
||||
if !ok || !c.UseOwnSettings {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user