fix: add OPT to query when just options specified

This commit is contained in:
Willem Toorop 2014-10-23 13:55:37 +02:00
parent d583766a03
commit 07848b20ff
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ getdns_make_query_pkt_buf(getdns_context *context, const char *name,
with_opt = edns_do_bit || edns_maximum_udp_payload_size > 512
|| edns_extended_rcode != 0 || edns_version != 0
|| opt_options_size > 0;
|| noptions;
assert(buf);
assert(olen);