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

CIRA auto-config completed.

This commit is contained in:
Ylian Saint-Hilaire 2020-10-18 22:02:48 -07:00
parent 51ae65b5dc
commit 5290732c6f
2 changed files with 27 additions and 27 deletions

View file

@ -327,6 +327,9 @@ module.exports.CreateMpsServer = function (parent, db, args, certificates) {
socket.SetupChannel = function SetupChannel(targetport) { return SetupChannel.parent.SetupChannel(SetupChannel.conn, targetport); }
socket.SetupChannel.parent = obj;
socket.SetupChannel.conn = socket;
socket.ControlMsg = function ControlMsg(message) { return ControlMsg.parent.SendJsonControl(ControlMsg.conn, message); }
socket.ControlMsg.parent = obj;
socket.ControlMsg.conn = socket;
socket.setEncoding('binary');
parent.debug('mps', "New CIRA connection");