Skip to content

Instantly share code, notes, and snippets.

@Habbie
Created April 26, 2013 11:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Habbie/5466730 to your computer and use it in GitHub Desktop.
Save Habbie/5466730 to your computer and use it in GitHub Desktop.
Index: pdns/mastercommunicator.cc
===================================================================
--- pdns/mastercommunicator.cc (revision 2373)
+++ pdns/mastercommunicator.cc (working copy)
@@ -119,6 +119,7 @@
for(vector<DomainInfo>::const_iterator i=cmdomains.begin();i!=cmdomains.end();++i) {
extern PacketCache PC;
vector<string> topurge;
+ topurge.push_back("DUMMY"); // XXX - The packet cache ignores the first entry in the purge list.
topurge.push_back(i->zone);
PC.purge(topurge); // fixes cvstrac ticket #30
queueNotifyDomain(i->zone,P->getBackend());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment