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: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=078023c17a9904395af9d3d280475b147e1c5ab8;p=pdns 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 5bddd104d..117e4b793 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;