Changeset 2190

Show
Ignore:
Timestamp:
05/09/11 10:11:35 (2 years ago)
Author:
ahu
Message:

fix crash reported by Marc Laros when using a non-DNSSEC capable backend. Should also improve non-DNSSEC performance.

Files:
1 modified

Legend:

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

    r2183 r2190  
    11051105    } 
    11061106  } 
    1107   if(p->d_dnssecOk) { 
     1107  if(p->d_dnssecOk && d_dk.isSecuredZone(sd.qname)) { 
    11081108    addNSECX(p, r, p->qdomain, sd.qname, 3); 
    11091109  }