} 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];
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