From 578c50b8d2fa38bfba5a11c113df0850e26ffcbb Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Sat, 1 Oct 2016 02:54:22 -0400 Subject: [PATCH] bugfix --- wstunneld.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wstunneld.js b/wstunneld.js index 7ae1d53..c741837 100644 --- a/wstunneld.js +++ b/wstunneld.js @@ -163,7 +163,7 @@ module.exports.create = function (opts) { , servername: servername , service: service }); - console.log('home-cloud is', packer.socketToId(remote)); + console.log('home-cloud is', packer.socketToId(remote.ws.upgradeReq.socket)); console.log('browser is', cid); var bstream = remote.clients[cid] = { wrapped: browser.pipe(wrapForRemote)