]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix libubound for edns optlist feature.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 2 Jun 2016 07:17:38 +0000 (07:17 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Thu, 2 Jun 2016 07:17:38 +0000 (07:17 +0000)
git-svn-id: file:///svn/unbound/trunk@3744 be551aaa-1e26-0410-a405-d3ace91eadb9

doc/Changelog
libunbound/libworker.c

index a6bce071cc34e4e10b87866baf9c9d79e787c84f..411d2687cd43b546ac38190ea801cf942383d350 100644 (file)
@@ -1,3 +1,6 @@
+2 June 2016: Wouter
+       - Fix libubound for edns optlist feature.
+
 31 May 2016: Wouter
        - Fix windows service to be created run with limited rights, as a
          network service account, from Mario Turschmann.
index 3065bede48142237da558cbbb2747f93e012aa06..2af392706b684ec5388c1accc3573cc6d3e429df 100644 (file)
@@ -581,6 +581,7 @@ setup_qinfo_edns(struct libworker* w, struct ctx_query* q,
        edns->ext_rcode = 0;
        edns->edns_version = 0;
        edns->bits = EDNS_DO;
+       edns->opt_list = NULL;
        if(sldns_buffer_capacity(w->back->udp_buff) < 65535)
                edns->udp_size = (uint16_t)sldns_buffer_capacity(
                        w->back->udp_buff);