Ticket #147: pdns_recursor.cc.patch

File pdns_recursor.cc.patch, 0.5 kB (added by anon, 1 year ago)

rr=String2DNSRR(rr.qname, rr.qtype, tmp, rr.ttl);

  • pdns_recursor.cc

    old new  
    13771377        while(zpt.get(rr)) { 
    13781378          try { 
    13791379            string tmp=DNSRR2String(rr); 
    1380             rr=String2DNSRR(rr.qname, rr.qtype, tmp, 3600); 
     1380            rr=String2DNSRR(rr.qname, rr.qtype, tmp, rr.ttl); 
    13811381          } 
    13821382          catch(exception &e) { 
    13831383            throw AhuException("Error parsing record '"+rr.qname+"' of type "+rr.qtype.getName()+" in zone '"+headers.first+"' from file '"+headers.second+"': "+e.what());