Changeset 1729
- Timestamp:
- 10/24/10 21:34:23 (3 years ago)
- Files:
-
- 1 modified
-
trunk/pdns/pdns/dns.cc (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/pdns/pdns/dns.cc
r1691 r1729 49 49 bool dnspacketLessThan(const std::string& a, const std::string& b) 50 50 { 51 if(a.length() < 12 || b.length() <12)51 if(a.length() <= 12 || b.length() <= 12) 52 52 return a.length() < b.length(); 53 53 // throw runtime_error("Error parsing question in dnspacket comparison: packet too short");