diff options
Diffstat (limited to 'src/resolve/resolved-dns-server.c')
-rw-r--r-- | src/resolve/resolved-dns-server.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-server.c b/src/resolve/resolved-dns-server.c index 9c221e1989..a5b89128c7 100644 --- a/src/resolve/resolved-dns-server.c +++ b/src/resolve/resolved-dns-server.c @@ -753,13 +753,12 @@ DnsServer *manager_get_dns_server(Manager *m) { if (!m->current_dns_server) { bool found = false; - Iterator i; /* No DNS servers configured, let's see if there are * any on any links. If not, we use the fallback * servers */ - HASHMAP_FOREACH(l, m->links, i) + HASHMAP_FOREACH(l, m->links) if (l->dns_servers) { found = true; break; |