From e8b1f11d01e7b25474af1edb5760c41a4dd4003d Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Thu, 29 Sep 2016 20:28:37 -0400 Subject: [PATCH] typo fix --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index e759dad..c834e5b 100644 --- a/index.js +++ b/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);