]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
nit
authorPeter van Dijk <peter.van.dijk@netherlabs.nl>
Wed, 13 May 2015 13:13:31 +0000 (15:13 +0200)
committermind04 <mind04@monshouwer.org>
Mon, 29 Jun 2015 18:35:21 +0000 (20:35 +0200)
pdns/dns.cc
pdns/dnspacket.hh

index 1b5a9b264c9d354fe1ff772538322025f76a5cd0..b08f410518fbfa6950975195a16b89477e6cc067 100644 (file)
@@ -120,7 +120,7 @@ bool dnspacketLessThan(const std::string& a, const std::string& b)
   } while(aLabelLen && bLabelLen);
   
   if(aLabelLen || bLabelLen) //
-    throw runtime_error("Error in label comparison routing, should not happen");
+    throw runtime_error("Error in label comparison routine, should not happen");
       
   uint16_t aQtype = aSafe[aPos]*256 + aSafe[aPos + 1];
   uint16_t bQtype = bSafe[bPos]*256 + bSafe[bPos + 1];
index db1181b1e65953124fb1408b89dd8645720c9816..01e89e8259706e84edba6ac6d49a4f4e41718998 100644 (file)
@@ -110,7 +110,7 @@ public:
       DNSResourceRecord d_place field */
   void addRecord(const DNSResourceRecord &);  // adds to 'rrs'
 
-  void setQuestion(int op, const string &qdomain, int qtype);  // wipes 'd', sets a random id, creates start of packet (label, type, class etc)
+  void setQuestion(int op, const string &qdomain, int qtype);  // wipes 'd', sets a random id, creates start of packet (domain, type, class etc)
 
   DTime d_dt; //!< the time this packet was created. replyPacket() copies this in for you, so d_dt becomes the time spent processing the question+answer
   void wrapup();  // writes out queued rrs, and generates the binary packet. also shuffles. also rectifies dnsheader 'd', and copies it to the stringbuffer