remove logs
This commit is contained in:
parent
8d1cb165ae
commit
12093c52d3
|
@ -13,26 +13,18 @@ exports.DNS_PACKER_TYPE_TXT = function (ab, dv, total, record) {
|
|||
total += 3;
|
||||
|
||||
// RDATA
|
||||
console.log("what is my record data: " + typeof record.data[0]);
|
||||
console.log("what are my labels? ");
|
||||
// var res = record.data[0].split(" ");
|
||||
// console.log("Res: " + res);
|
||||
|
||||
console.log("for each rdata");
|
||||
record.data.forEach(function(str){
|
||||
|
||||
str.split('').forEach(function(ch){
|
||||
|
||||
|
||||
txtLen += 1;
|
||||
// console.log(chcim);
|
||||
dv.setUint8(total, ch.charCodeAt(0), false);
|
||||
total += 1;
|
||||
|
||||
|
||||
});
|
||||
});
|
||||
|
||||
console.log("txt rdata length is: " + txtLen);
|
||||
dv.setUint16(rdLenIndex, txtLen+1, false);
|
||||
dv.setUint8(rdLenIndex+2, txtLen, false);
|
||||
// total +=1;
|
||||
|
|
Loading…
Reference in New Issue