diff options
author | florian <florian@openbsd.org> | 2017-04-15 09:15:45 +0000 |
---|---|---|
committer | florian <florian@openbsd.org> | 2017-04-15 09:15:45 +0000 |
commit | db7d0d02cdf695b4f3cbc8748a264162da703c76 (patch) | |
tree | c302a4ac1b7f2522b323ea4bebe14cb679a0a258 /usr.sbin/nsd/difffile.c | |
parent | Fix format string in ACPI_MEMDEBUG block (diff) | |
download | wireguard-openbsd-db7d0d02cdf695b4f3cbc8748a264162da703c76.tar.xz wireguard-openbsd-db7d0d02cdf695b4f3cbc8748a264162da703c76.zip |
update to 4.1.16rc1
tests & OK sthen
(if there are more changes coming for 4.1.16 release we will just
commit them on top)
Diffstat (limited to 'usr.sbin/nsd/difffile.c')
-rw-r--r-- | usr.sbin/nsd/difffile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/usr.sbin/nsd/difffile.c b/usr.sbin/nsd/difffile.c index 720e3a5cc6e..dfef60dccc7 100644 --- a/usr.sbin/nsd/difffile.c +++ b/usr.sbin/nsd/difffile.c @@ -752,7 +752,9 @@ add_RR(namedb_type* db, const dname_type* dname, rr_type *rrs_old; ssize_t rdata_num; int rrnum; +#ifdef NSEC3 int rrset_added = 0; +#endif domain = domain_table_find(db->domains, dname); if(!domain) { /* create the domain */ @@ -770,7 +772,9 @@ add_RR(namedb_type* db, const dname_type* dname, rrset->rrs = 0; rrset->rr_count = 0; domain_add_rrset(domain, rrset); +#ifdef NSEC3 rrset_added = 1; +#endif } /* dnames in rdata are normalized, conform RFC 4035, |