]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
make sure first bind superslave domain gets a valid id too, thanks Kees Monshouwer...
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Wed, 2 Jan 2013 08:45:59 +0000 (08:45 +0000)
committerPeter van Dijk <peter.van.dijk@netherlabs.nl>
Wed, 2 Jan 2013 08:45:59 +0000 (08:45 +0000)
git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3013 d19b8d6e-7fed-0310-83ef-9ca221ded41b

pdns/backends/bind/bindbackend2.cc

index 61009f7ad5d8b12f7652fa7f0849216d1b8f79ca..b27f49bec55fd8f688f0e214e2d40d18f7531993 100644 (file)
@@ -1296,7 +1296,7 @@ bool Bind2Backend::createSlaveDomain(const string &ip, const string &domain, con
   c_of << "};" << endl;
   c_of.close();
 
-  int newid=0;
+  int newid=1;
   // Find a free zone id nr.  
   
   if (!s_state->id_zone_map.empty()) {