]> granicus.if.org Git - pdns/commitdiff
Merge remote-tracking branch 'origin/master' into after-notify-commit
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 9 Jan 2019 11:41:30 +0000 (12:41 +0100)
committerOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 9 Jan 2019 12:39:57 +0000 (13:39 +0100)
1  2 
pdns/dynhandler.cc

index 394541583f4de782cb89394d78b06761b6eb0d3c,50a29dd04327836b2972b5e569c47163660adf46..e1ea81f82a5afeca3618150e5341a01ea7aab5d6
@@@ -300,9 -300,9 +300,9 @@@ string DLNotifyHandler(const vector<str
      int total = 0;
      int notified = 0;
      for (const auto& di : domains) {
-       if (di->kind == DomainInfo::Master || di->kind == DomainInfo::Slave) { // MASTER and Slave if slave-renotify is enabled
 -      if (di.kind == 0) { // MASTER
++      if (di.kind == DomainInfo::Master || di.kind == DomainInfo::Slave) { // MASTER and Slave if slave-renotify is enabled
          total++;
-         if(Communicator.notifyDomain(di->zone))
+         if(Communicator.notifyDomain(di.zone))
            notified++;
        }
      }