Changeset 532 for trunk/pdns/pdns/dnsparser.cc
- Timestamp:
- 10/31/05 19:07:49 (8 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/dnsparser.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/dnsparser.cc
r525 r532 169 169 PacketReader pr(d_content); 170 170 171 for(n=0;n < d_header.qdcount; ++n) {172 d_qname=pr.getLabel();173 d_qtype=pr.get16BitInt();174 d_qclass=pr.get16BitInt();175 }176 177 171 try { 172 for(n=0;n < d_header.qdcount; ++n) { 173 d_qname=pr.getLabel(); 174 d_qtype=pr.get16BitInt(); 175 d_qclass=pr.get16BitInt(); 176 } 177 178 178 struct dnsrecordheader ah; 179 179 vector<unsigned char> record;