diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-17 19:38:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-17 19:39:50 +0200 |
commit | 322345fdb9865ef2477fba8e4bdde0e1183ef505 (patch) | |
tree | 6ac6b255f03e86c6b0029d0119eede7f4317d62c /src/resolve/resolved-dns-scope.c | |
parent | c5ed93163e6ef51a7462aa558a7e0912b17c4951 (diff) | |
download | systemd-322345fdb9865ef2477fba8e4bdde0e1183ef505.tar.gz |
resolved: add DNS cache
Diffstat (limited to 'src/resolve/resolved-dns-scope.c')
-rw-r--r-- | src/resolve/resolved-dns-scope.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resolve/resolved-dns-scope.c b/src/resolve/resolved-dns-scope.c index 1fa8401ed5..b6884fd0aa 100644 --- a/src/resolve/resolved-dns-scope.c +++ b/src/resolve/resolved-dns-scope.c @@ -60,6 +60,8 @@ DnsScope* dns_scope_free(DnsScope *s) { dns_query_finish(q); } + dns_cache_flush(&s->cache); + LIST_REMOVE(scopes, s->manager->dns_scopes, s); strv_free(s->domains); free(s); |