Changeset 1646
- Timestamp:
- 06/19/10 15:18:12 (3 years ago)
- Location:
- trunk/pdns/pdns/backends/bind
- Files:
-
- 2 modified
-
bindbackend2.cc (modified) (3 diffs)
-
bindbackend2.hh (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/backends/bind/bindbackend2.cc
r1641 r1646 783 783 784 784 785 786 bool Bind2Backend::getBeforeAndAfterNamesAbsolute(uint32_t id, const std::string& qname, std::string& before, std::string& after) 785 bool Bind2Backend::getBeforeAndAfterNamesAbsolute(uint32_t id, const std::string& qname, std::string& unhashed, std::string& before, std::string& after) 787 786 { 788 787 shared_ptr<State> state = s_state; … … 796 795 vector<Bind2DNSRecord>::const_iterator iter = lower_bound(bbd.d_records->begin(), bbd.d_records->end(), lname); 797 796 798 799 797 while(iter != bbd.d_records->begin() && !(iter-1)->auth && (iter-1)->qtype!=QType::NS) { 800 798 cerr<<"Going backwards.."<<endl; … … 831 829 cerr<<"Before: '"<<before<<"', after: '"<<after<<"'\n"; 832 830 return true; 833 834 835 831 } 836 832 -
trunk/pdns/pdns/backends/bind/bindbackend2.hh
r1605 r1646 109 109 bool getDomainInfo(const string &domain, DomainInfo &di); 110 110 time_t getCtime(const string &fname); 111 virtual bool getBeforeAndAfterNamesAbsolute(uint32_t id, const std::string& qname, std::string& before, std::string& after);111 virtual bool getBeforeAndAfterNamesAbsolute(uint32_t id, const std::string& qname, std::string& unhashed, std::string& before, std::string& after); 112 112 void lookup(const QType &, const string &qdomain, DNSPacket *p=0, int zoneId=-1); 113 113 bool list(const string &target, int id);