resolve: update argument comments
This commit is contained in:
@@ -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. */
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user