]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
bindbackend: fix, set domain in list() 3580/head
authorKees Monshouwer <mind04@monshouwer.org>
Tue, 15 Mar 2016 15:54:15 +0000 (16:54 +0100)
committermind04 <mind04@monshouwer.org>
Tue, 15 Mar 2016 16:02:46 +0000 (17:02 +0100)
modules/bindbackend/bindbackend2.cc

index c773784691d60f0bff0acc720aeff2d7064e4fce..d7b081761ca0fdfe983c9e7e602b45d44fa37f1b 100644 (file)
@@ -1210,6 +1210,7 @@ bool Bind2Backend::list(const DNSName& target, int id, bool include_disabled)
   d_handle.d_qname_end=d_handle.d_records->end();   // iter now points to a vector of pointers to vector<BBResourceRecords>
 
   d_handle.id=id;
+  d_handle.domain=bbd.d_name;
   d_handle.d_list=true;
   return true;
 }