diff options
author | Tom Gundersen <teg@jklm.no> | 2015-12-04 14:22:29 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2015-12-04 14:22:29 +0100 |
commit | 8eb3655cdb1910537615bb69c5ecf90dcc9d81c3 (patch) | |
tree | aafbaca07fc1125352ecaf0f0e4c6473f455ff80 /src/resolve/resolved-manager.c | |
parent | 517d12cc0c94e09f8b4783e84ee0d2d5df3e9b5a (diff) | |
parent | bb1fa24261fd60ec1df6c6c42940c5f764d9246d (diff) |
Merge pull request #2092 from poettering/dnssec2
Second DNSSEC patch set
Diffstat (limited to 'src/resolve/resolved-manager.c')
-rw-r--r-- | src/resolve/resolved-manager.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/resolve/resolved-manager.c b/src/resolve/resolved-manager.c index 62562f0d24..5a3696ccb0 100644 --- a/src/resolve/resolved-manager.c +++ b/src/resolve/resolved-manager.c @@ -478,6 +478,10 @@ int manager_new(Manager **ret) { m->read_resolv_conf = true; m->need_builtin_fallbacks = true; + r = dns_trust_anchor_load(&m->trust_anchor); + if (r < 0) + return r; + r = sd_event_default(&m->event); if (r < 0) return r; @@ -572,6 +576,8 @@ Manager *manager_free(Manager *m) { free(m->llmnr_hostname); free(m->mdns_hostname); + dns_trust_anchor_flush(&m->trust_anchor); + free(m); return NULL; |