From f497312d29e5bf97127dcdda558c1d1933bda9a5 Mon Sep 17 00:00:00 2001 From: fbsanchez Date: Thu, 7 Nov 2019 10:54:05 +0100 Subject: [PATCH] minor fix. default values QS admin page --- pandora_console/extensions/quick_shell.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/pandora_console/extensions/quick_shell.php b/pandora_console/extensions/quick_shell.php index 3b1e2db1ba..3f9ca3c3c7 100644 --- a/pandora_console/extensions/quick_shell.php +++ b/pandora_console/extensions/quick_shell.php @@ -298,6 +298,19 @@ function quickShellSettings() ui_require_css_file('wizard'); ui_require_css_file('discovery'); + // Gotty settings. Internal communication (WS). + if (isset($config['gotty_host']) === false) { + config_update_value('gotty_host', '127.0.0.1'); + } + + if (isset($config['gotty_telnet_port']) === false) { + config_update_value('gotty_telnet_port', 8082); + } + + if (isset($config['gotty_ssh_port']) === false) { + config_update_value('gotty_ssh_port', 8081); + } + // Parser. // Gotty settings. Internal communication (WS). $gotty = get_parameter(