Changeset 992

Show
Ignore:
Timestamp:
03/25/07 15:53:25 (2 years ago)
Author:
ahu
Message:

fix ticket 123 - but I'm unhappy with the fix..

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/pdns/pdns/packethandler.cc

    r983 r992  
    829829         
    830830        while(B.get(rr)) { 
    831           if(!found) 
     831          if(target==p->qdomain && !found) { // don't strip data if we've been retargeted! 
     832            DLOG(L<<Logger::Warning<<"Clearing records - we've discovered we are auth (see cs 947)"<<endl); 
    832833            r->clearRecords(); // we need to start out with an empty slate 
     834          } 
    833835          found=true; 
    834836          rr.d_place=DNSResourceRecord::AUTHORITY; // this for the authority section