Changeset 1455
- Timestamp:
- 12/21/09 14:33:48 (3 years ago)
- Location:
- trunk/pdns/pdns
- Files:
-
- 2 modified
-
rcpgenerator.cc (modified) (2 diffs)
-
slavecommunicator.cc (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/rcpgenerator.cc
r1406 r1455 24 24 #include <iostream> 25 25 #include "base64.hh" 26 using namespace boost; 26 #include "namespaces.hh" 27 27 28 28 RecordTextReader::RecordTextReader(const string& str, const string& zone) : d_string(str), d_zone(zone), d_pos(0), d_end(str.size()) … … 78 78 tm.tm_year-=1900; 79 79 tm.tm_mon-=1; 80 81 80 val=(uint32_t)timegm(&tm); 82 81 } -
trunk/pdns/pdns/slavecommunicator.cc
r1449 r1455 151 151 { 152 152 d_serials[i.id]=serial; 153 //cerr<<"Got a serial of "<<serial<<" for "<<i.zone<<endl;154 153 } 155 154 … … 193 192 } 194 193 L<<Logger::Warning<<"Received serial number updates for "<<ssr.d_serials.size()<<" zones"<<endl; 195 int suckRequests=0; 194 196 195 BOOST_FOREACH(DomainInfo& di, sdomains) { 197 196 if(!ssr.d_serials.count(di.id)) … … 210 209 L<<Logger::Warning<<"Domain "<< di.zone<<" is stale, master serial "<<theirserial<<", our serial "<< ourserial <<endl; 211 210 addSuckRequest(di.zone, *di.masters.begin()); 212 suckRequests++; 213 } 214 } 215 L<<Logger::Warning<<"Attempted "<<suckRequests<<" zone transfers"<<endl; 211 } 212 } 216 213 } 217 214