1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Improved MeshCentral1 migration, improved MeshAgent

This commit is contained in:
Ylian Saint-Hilaire 2017-11-09 17:18:30 -08:00
parent 801567f564
commit 4bfec1ba61
17 changed files with 22 additions and 12 deletions

View file

@ -156,7 +156,7 @@ module.exports.CreateMeshRelay = function (parent, ws, req, domain) {
// Wait for other relay connection
ws.pause(); // Hold traffic until the other connection
parent.wsrelays[obj.id] = { peer1: obj, state: 1 };
obj.parent.parent.debug(1, 'Relay holding: ' + obj.id + ' (' + obj.remoteaddr + ')');
obj.parent.parent.debug(1, 'Relay holding: ' + obj.id + ' (' + obj.remoteaddr + ') ' + (obj.authenticated?'Authenticated':'') );
// Check if a peer server has this connection
if (parent.parent.multiServer != null) {