diff --git a/dns.rdata.parse.js b/dns.rdata.parse.js index 1f8caf4..afd7bd9 100644 --- a/dns.rdata.parse.js +++ b/dns.rdata.parse.js @@ -11,14 +11,14 @@ exports.DNS_RDATA_PARSE = function (ab, packet, record) { if (!record.className) { - throw new Error("Support for DNS Class " + record.class.toString(16) + "(" + record.class + ")" + throw new Error("Support for DNS Class 0x" + record.class.toString(16) + " (" + record.class + ")" + " is not implemented yet. Open an issue if you actually need support" + " (i.e. you're not working with a malformed packet)" ); } if (!record.typeName) { - throw new Error("Support for DNS Type " + record.type.toString(16) + "(" + record.type + ")" + throw new Error("Support for DNS Type 0x" + record.type.toString(16) + " (" + record.type + ")" + " is not implemented yet. Open an issue if you actually need support" + " (i.e. you're not working with a malformed packet)" );