mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Published as v0.3.9-w
This commit is contained in:
parent
616005883d
commit
ff97603fb4
5 changed files with 96 additions and 56 deletions
2
agents/meshcmd.min.js
vendored
2
agents/meshcmd.min.js
vendored
|
@ -1982,7 +1982,7 @@ function OnWebSocket(msg, s, head) {
|
|||
s.on('data', function (msg) {
|
||||
if (this.parent.tunneling == false) {
|
||||
msg = msg.toString();
|
||||
if (msg == 'c') {
|
||||
if ((msg == 'c') || (msg == 'cr')) {
|
||||
this.parent.tunneling = true; this.pipe(this.parent.tcp); this.parent.tcp.pipe(this); debug(1, 'Tunnel active');
|
||||
} else if ((msg.length > 6) && (msg.substring(0, 6) == 'error:')) {
|
||||
console.log(msg.substring(6));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue