Adjust log of DNS settings according to gateway
This commit is contained in:
parent
8df7e90c95
commit
f17bb110c2
|
@ -707,9 +707,13 @@ extension OpenVPNTunnelProvider: OpenVPNSessionDelegate {
|
|||
log.info("DNS: Using servers \(dnsServers.maskedDescription)")
|
||||
dnsSettings = NEDNSSettings(servers: dnsServers)
|
||||
} else {
|
||||
// log.warning("DNS: No servers provided, using fall-back servers: \(fallbackDNSServers.maskedDescription)")
|
||||
// dnsSettings = NEDNSSettings(servers: fallbackDNSServers)
|
||||
log.warning("DNS: No settings provided, using current network settings")
|
||||
// log.warning("DNS: No servers provided, using fall-back servers: \(fallbackDNSServers.maskedDescription)")
|
||||
// dnsSettings = NEDNSSettings(servers: fallbackDNSServers)
|
||||
if isGateway {
|
||||
log.warning("DNS: No settings provided, using current network settings")
|
||||
} else {
|
||||
log.warning("DNS: No settings provided")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue