From: Peter van Dijk Date: Wed, 2 Jan 2013 08:45:59 +0000 (+0000) Subject: make sure first bind superslave domain gets a valid id too, thanks Kees Monshouwer... X-Git-Tag: auth-3.2-rc4~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad371bf3d92be6e64ccbca2686493d41a6e8ef14;p=thirdparty%2Fpdns.git make sure first bind superslave domain gets a valid id too, thanks Kees Monshouwer. Closes #645 git-svn-id: svn://svn.powerdns.com/pdns/trunk/pdns@3013 d19b8d6e-7fed-0310-83ef-9ca221ded41b --- diff --git a/pdns/backends/bind/bindbackend2.cc b/pdns/backends/bind/bindbackend2.cc index 61009f7ad5..b27f49bec5 100644 --- a/pdns/backends/bind/bindbackend2.cc +++ b/pdns/backends/bind/bindbackend2.cc @@ -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()) {