Searched refs:old_rr (Results 1 – 1 of 1) sorted by relevance
1683 DnsResourceRecord *old_rr, *new_rr; in dns_resource_record_clamp_ttl() local1687 old_rr = *rr; in dns_resource_record_clamp_ttl()1689 if (old_rr->key->type == DNS_TYPE_OPT) in dns_resource_record_clamp_ttl()1692 new_ttl = MIN(old_rr->ttl, max_ttl); in dns_resource_record_clamp_ttl()1693 if (new_ttl == old_rr->ttl) in dns_resource_record_clamp_ttl()1696 if (old_rr->n_ref == 1) { in dns_resource_record_clamp_ttl()1698 old_rr->ttl = new_ttl; in dns_resource_record_clamp_ttl()1702 new_rr = dns_resource_record_copy(old_rr); in dns_resource_record_clamp_ttl()