diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-07-30 19:34:50 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-07-30 19:34:50 +0200 |
commit | 57f5ad3149b604d07816da61e6aa7dcf1cc56b64 (patch) | |
tree | 5fbc41a68e175c84569203ef64fdcb1b730d6710 /src/resolve/resolved-dns-answer.h | |
parent | fcf57f9cf706ff5be2b5e6d41b2ac48e3e98467b (diff) |
resolved: properly set TTL in SOA records
Diffstat (limited to 'src/resolve/resolved-dns-answer.h')
-rw-r--r-- | src/resolve/resolved-dns-answer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-answer.h b/src/resolve/resolved-dns-answer.h index 917bfced5f..af3e462ed5 100644 --- a/src/resolve/resolved-dns-answer.h +++ b/src/resolve/resolved-dns-answer.h @@ -38,7 +38,7 @@ DnsAnswer *dns_answer_ref(DnsAnswer *a); DnsAnswer *dns_answer_unref(DnsAnswer *a); int dns_answer_add(DnsAnswer *a, DnsResourceRecord *rr); -int dns_answer_add_soa(DnsAnswer *a, const char *name); +int dns_answer_add_soa(DnsAnswer *a, const char *name, uint32_t ttl); int dns_answer_contains(DnsAnswer *a, DnsResourceKey *key); int dns_answer_find_soa(DnsAnswer *a, DnsResourceKey *key, DnsResourceRecord **ret); |