From da70dc25aa585b1846231a637ab5ba06e97b4fd6 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Sun, 9 May 2021 09:38:27 -0700 Subject: [PATCH] SSH Terminal fix. --- views/default.handlebars | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/default.handlebars b/views/default.handlebars index 089cf14c..06107403 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -6555,7 +6555,7 @@ if (consoleRights) { setupConsole(); } else { if (panel == 15) { panel = 10; } } // If we are looking at a local non-windows device, enable terminal capability. - if ((mesh.mtype == 3) && (node.agent != null) && (node.agent.id > 4)) { node.agent.caps = 2; } + if ((mesh.mtype == 3) && (node.agent != null) && (node.agent.id > 4) && (features2 & 0x00000200)) { node.agent.caps = 2; } // Show or hide the tabs // mesh.mtype: 1 = Intel AMT only, 2 = Mesh Agent, 3 = Local Device @@ -8552,7 +8552,7 @@ var termState = ((terminal != null) && (terminal.state != 0)); // If we are looking at a local non-windows device, enable terminal capability. - if ((terminalNode.mtype == 3) && (terminalNode.agent != null) && (terminalNode.agent.id > 4)) { terminalNode.agent.caps = 2; } + if ((terminalNode.mtype == 3) && (terminalNode.agent != null) && (terminalNode.agent.id > 4) && (features2 & 0x00000200)) { terminalNode.agent.caps = 2; } // Show the right buttons QV('disconnectbutton2span', (termState == true));