minor changes

This commit is contained in:
dwes7 2017-02-01 22:11:07 -07:00
parent 8c8ddceddc
commit fd090e2cf1
3 changed files with 11 additions and 6 deletions

View File

@ -1,8 +1,6 @@
(function (exports) { (function (exports) {
'use strict'; 'use strict';
// TODO. Not yet implemented
// Value: Preference // Value: Preference
// Meaning/Use: Unsigned 16-bit integer // Meaning/Use: Unsigned 16-bit integer
//------------------------------------- //-------------------------------------

View File

@ -13,6 +13,6 @@
var unpackLabels = exports.DNS_UNPACK_LABELS || require('./dns.unpack-labels.js').DNS_UNPACK_LABELS; var unpackLabels = exports.DNS_UNPACK_LABELS || require('./dns.unpack-labels.js').DNS_UNPACK_LABELS;
exports.DNS_TYPE_PTR = function (ab, pack, record) { exports.DNS_TYPE_PTR = function (ab, pack, record) {
return unpackLabels(new Uint8Array(ab), record.rdstart, { byteLength: 0, cpcount: 0, labels: [], name: '' }).name; return unpackLabels(new Uint8Array(ab), record.rdstart, { byteLength: 0, cpcount: 0, labels: [], name: '' }).name;
}; };
}('undefined' !== typeof window ? window : exports)); }('undefined' !== typeof window ? window : exports));

View File

@ -3,8 +3,15 @@
exports.DNS_TYPE_A = function (rdata) { exports.DNS_TYPE_SOA = function (ab, packet, record) {
var ui8 = new Uint8Array(rdata);
var s = {
};
}; };