From: Pieter Lexis Date: Tue, 24 Oct 2017 10:08:51 +0000 (+0200) Subject: BIND: re-instate also-notify behaviour X-Git-Tag: auth-4.1.0-rc2~1^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F5810%2Fhead;p=thirdparty%2Fpdns.git BIND: re-instate also-notify behaviour @mind04 noticed the behaviour introduced in bc67ec22 was not the same as before. --- diff --git a/modules/bindbackend/bindbackend2.cc b/modules/bindbackend/bindbackend2.cc index 5bddd104de..117e4b7932 100644 --- a/modules/bindbackend/bindbackend2.cc +++ b/modules/bindbackend/bindbackend2.cc @@ -302,7 +302,7 @@ void Bind2Backend::getUpdatedMasters(vector *changedDomains) ReadLock rl(&s_state_lock); for(state_t::const_iterator i = s_state.begin(); i != s_state.end() ; ++i) { - if(i->d_kind != DomainInfo::Master) + if(i->d_kind != DomainInfo::Master && this->alsoNotify.empty() && i->d_also_notify.empty()) continue; DomainInfo di;