typo fix
This commit is contained in:
parent
2c9bfc52c9
commit
e8b1f11d01
2
index.js
2
index.js
|
@ -161,7 +161,7 @@ module.exports.pack = function (address, data) {
|
|||
var version = 1;
|
||||
var header = Buffer.from([
|
||||
/*servername,*/ address.family, address.address, address.port, data.byteLength
|
||||
, (data.service || 'https')
|
||||
, (address.service || '')
|
||||
].join(','));
|
||||
var meta = Buffer.from([ 255 - version, header.length ]);
|
||||
var buf = Buffer.alloc(meta.byteLength + header.byteLength + data.byteLength);
|
||||
|
|
Loading…
Reference in New Issue