mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-11 05:17:44 +03:00
resolved: use DNS_ANSWER_MASK_SECTIONS where appropriate
This commit is contained in:
parent
a1acc6e332
commit
c4d98c3acc
@ -275,7 +275,7 @@ static int dns_stub_collect_answer_by_section(
|
||||
dns_type_is_dnssec(item->rr->key->type))
|
||||
continue;
|
||||
|
||||
if (((item->flags ^ section) & (DNS_ANSWER_SECTION_ANSWER|DNS_ANSWER_SECTION_AUTHORITY|DNS_ANSWER_SECTION_ADDITIONAL)) != 0)
|
||||
if (((item->flags ^ section) & DNS_ANSWER_MASK_SECTIONS) != 0)
|
||||
continue;
|
||||
|
||||
r = reply_add_with_rrsig(
|
||||
|
Loading…
Reference in New Issue
Block a user