mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-25 06:03:40 +03:00
resolved: replace bitwise and with logical and
This commit is contained in:
parent
ba19c6e181
commit
12c40d4cc4
@ -720,7 +720,7 @@ int dns_packet_append_opt(DnsPacket *p, uint16_t max_udp_size, bool edns0_do, in
|
||||
goto fail;
|
||||
|
||||
/* RDLENGTH */
|
||||
if (edns0_do & !DNS_PACKET_QR(p)) {
|
||||
if (edns0_do && !DNS_PACKET_QR(p)) {
|
||||
/* If DO is on and this is not a reply, also append RFC6975 Algorithm data */
|
||||
|
||||
static const uint8_t rfc6975[] = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user