~ubuntu-branches/ubuntu/maverick/pdns/maverick-updates

« back to all changes in this revision

Viewing changes to pdns/dnsparser.cc

  • Committer: Bazaar Package Importer
  • Author(s): Debian PowerDNS Maintainers
  • Date: 2006-05-06 10:40:44 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060506104044-v9hczzfl7dcri6qt
Tags: 2.9.20-3
Disable the recursor, this is in a separate package now.

Show diffs side-by-side

added added

removed removed

Lines of Context:
168
168
 
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;
180
180