Permalink
Browse files

explicitly set domain id during bindbackend superslave domain create,…

… thanks Kees Monshouwer&Aki Tuomi

git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3106 d19b8d6e-7fed-0310-83ef-9ca221ded41b
  • Loading branch information...
1 parent 69bae20 commit fb6ed6f4419896c1308ceb6e83cd8c8484082814 @Habbie Habbie committed Feb 11, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 pdns/backends/bind/bindbackend2.cc
@@ -1306,6 +1306,7 @@ bool Bind2Backend::createSlaveDomain(const string &ip, const string &domain, con
BB2DomainInfo &bbd = s_state->id_zone_map[newid];
+ bbd.d_id = newid;
bbd.d_records = shared_ptr<recordstorage_t >(new recordstorage_t);
bbd.d_name = domain;
bbd.setCheckInterval(getArgAsNum("check-interval"));

0 comments on commit fb6ed6f

Please sign in to comment.