diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-07-18 19:03:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-18 19:03:08 -0400 |
commit | 53274d4cab90c7519fe53d6c222e892c036efc37 (patch) | |
tree | 3cbd0046b2b4d8a8393b796181b5ab9148d2bdbb /src/resolve/resolved-dns-packet.c | |
parent | 03e749af53bc6671270c300cdc5df4f2c5e0b9ae (diff) | |
parent | 12c40d4cc4332161baa928092c08455bfee36096 (diff) |
Merge pull request #3749 from phomes/trivial-fixes3
Trivial fixes3
Diffstat (limited to 'src/resolve/resolved-dns-packet.c')
-rw-r--r-- | src/resolve/resolved-dns-packet.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-packet.c b/src/resolve/resolved-dns-packet.c index ea0be56d98..a8ad8fe342 100644 --- a/src/resolve/resolved-dns-packet.c +++ b/src/resolve/resolved-dns-packet.c @@ -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[] = { |