fix rp encode bytes
This commit is contained in:
parent
e8c299d64d
commit
985adc20b1
1
index.js
1
index.js
@ -906,6 +906,7 @@ rrp.decode = function (buf, offset) {
|
|||||||
data.mbox = name.decode(buf, offset) || '.'
|
data.mbox = name.decode(buf, offset) || '.'
|
||||||
offset += name.decode.bytes
|
offset += name.decode.bytes
|
||||||
data.txt = name.decode(buf, offset) || '.'
|
data.txt = name.decode(buf, offset) || '.'
|
||||||
|
offset += name.decode.bytes
|
||||||
rrp.decode.bytes = offset - oldOffset
|
rrp.decode.bytes = offset - oldOffset
|
||||||
return data
|
return data
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user