Commit 79df4cf7 authored by Daniel Wolf's avatar Daniel Wolf
Browse files

Adjusted to API changes

parent 5f8a49b5
......@@ -812,7 +812,7 @@ class DnsVpnService : VpnService(), Runnable {
if (getPreferences().catchKnownDnsServers) {
log("Interception of requests towards known DNS servers is enabled, adding routes.")
for (server in DnsServerInformation.waitUntilKnownServersArePopulated(-1)!!.values) {
for (server in KnownDnsServers.waitUntilKnownServersArePopulated(-1)!!.values) {
log("Adding all routes for ${}")
server.servers.forEach {
it.address.addressCreator.whenResolveFinishedSuccessfully { addresses ->
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment