diff --git a/services/cache/rrset.c b/services/cache/rrset.c index 381d8193e..0838dfdb2 100644 --- a/services/cache/rrset.c +++ b/services/cache/rrset.c @@ -354,7 +354,7 @@ rrset_update_sec_status(struct rrset_cache* r, if(ntohs(rrset->rk.type) != LDNS_RR_TYPE_NS || updata->ttl+now < cachedata->ttl || cachedata->ttl < now || - updata->trust == sec_status_bogus) { + updata->security == sec_status_bogus) { cachedata->ttl = updata->ttl + now; for(i=0; icount+cachedata->rrsig_count; i++) cachedata->rr_ttl[i] = updata->rr_ttl[i]+now;