Skip to content
Snippets Groups Projects
Commit 475614a1 authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Fixed typo

parent cbe880db
No related branches found
No related tags found
1 merge request!205TTL mismatch handling
......@@ -895,7 +895,7 @@ static int knot_ddns_add_rr_merge_normal(knot_rrset_t *node_rrset_copy,
/* First check if the TTL of the new RR is equal to that of the first
* RR in the node's RRSet. If not, refuse the UPDATE.
*/
if (knot_rrset_rr_ttl(*rr_copy, 1)
if (knot_rrset_rr_ttl(*rr_copy, 0)
!= knot_rrset_rr_ttl(node_rrset_copy, 0)) {
char type_str[16] = { '\0' };
knot_rrtype_to_string(knot_rrset_type(*rr_copy), type_str,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment