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) {
'use strict';
// TODO. Not yet implemented
// Value: Preference
// Meaning/Use: Unsigned 16-bit integer
//-------------------------------------

View File

@ -12,7 +12,7 @@
var unpackLabels = exports.DNS_UNPACK_LABELS || require('./dns.unpack-labels.js').DNS_UNPACK_LABELS;
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));

View File

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