terminate MX label with null
This commit is contained in:
parent
908fd5314c
commit
c6715ee6bf
|
@ -31,6 +31,9 @@ exports.DNS_PACKER_TYPE_MX = function (ab, dv, total, record) {
|
||||||
total += 1;
|
total += 1;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
dv.setUint8(total, 0, false);
|
||||||
|
total += 1;
|
||||||
|
mxLen += 1;
|
||||||
|
|
||||||
// RDLENGTH
|
// RDLENGTH
|
||||||
dv.setUint16(rdLenIndex, mxLen, false);
|
dv.setUint16(rdLenIndex, mxLen, false);
|
||||||
|
|
Loading…
Reference in New Issue