Show
Ignore:
Timestamp:
03/15/10 22:38:31 (3 years ago)
Author:
ahu
Message:

add testcase for wildcard CNAME pointing to a record that does not have the type requested, plus fix this bug

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pdns/pdns/packethandler.cc

    r1542 r1543  
    654654 
    655655    int mret; 
     656 
    656657  retargeted:; 
    657658    if(retargetcount++>10) { 
     
    663664    DLOG(L<<Logger::Warning<<"MakeCanonic returned "<<mret<<endl); 
    664665 
    665     if(mret==2) { // there is some data, but not of the correct type 
     666    if(mret==2 && retargetcount==1) { // there is some data, but not of the correct type 
    666667      r->clearRecords(); 
    667668    }