]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: update argument comments
authorJelle van der Waa <jvanderwaa@redhat.com>
Mon, 5 May 2025 17:31:13 +0000 (19:31 +0200)
committerJelle van der Waa <jvanderwaa@redhat.com>
Mon, 5 May 2025 17:32:23 +0000 (19:32 +0200)
src/resolve/resolved-dns-packet.c
src/resolve/resolved-dns-transaction.c

index 9b225735082a89611ceb31e0e06228a0c02b2593..0bf692c06ad901b3d0643e3bdcad4138f9e6af88 100644 (file)
@@ -2364,7 +2364,7 @@ int dns_packet_read_rr(
                 if (r < 0)
                         return r;
 
-                r = dns_packet_read_name(p, &rr->naptr.replacement, /* allow_compressed= */ false, NULL);
+                r = dns_packet_read_name(p, &rr->naptr.replacement, /* allow_compression= */ false, NULL);
                 break;
 
         case DNS_TYPE_OPT: /* we only care about the header of OPT for now. */
index 3cf92da1f5dde9063d659e261fc72e48afa91c57..12abd8b0e833e37d4c8c6617b7c8aba44c2180ee 100644 (file)
@@ -2074,7 +2074,7 @@ static int dns_transaction_make_packet(DnsTransaction *t) {
                 r = dns_packet_new_query(
                                 &p, t->scope->protocol,
                                 /* min_alloc_dsize = */ 0,
-                                /* dnssec_cd = */ !FLAGS_SET(t->query_flags, SD_RESOLVED_NO_VALIDATE) &&
+                                /* dnssec_checking_disabled = */ !FLAGS_SET(t->query_flags, SD_RESOLVED_NO_VALIDATE) &&
                                                   t->scope->dnssec_mode != DNSSEC_NO);
                 if (r < 0)
                         return r;