summaryrefslogtreecommitdiffstats
path: root/endpoints/lib/vboxconnector.php
diff options
context:
space:
mode:
authorh6w <tudor@tudorholton.com>2018-03-14 09:57:13 +1100
committerGitHub <noreply@github.com>2018-03-14 09:57:13 +1100
commitd459004420a4c9753494ff09dddca2cc60517269 (patch)
treee565db69981f1d78f60f8ae529145e2a665aed72 /endpoints/lib/vboxconnector.php
parent788f43e263d7b446916000328c5180a0b2015aa9 (diff)
parentb71081fc657581e621d3b814f1e1d9f044c43af4 (diff)
downloadphpvirtualbox-d459004420a4c9753494ff09dddca2cc60517269.zip
phpvirtualbox-d459004420a4c9753494ff09dddca2cc60517269.tar.gz
phpvirtualbox-d459004420a4c9753494ff09dddca2cc60517269.tar.bz2
Merge pull request #109 from rosorio/develop
Add a configuration variable to set the VRDE address
Diffstat (limited to 'endpoints/lib/vboxconnector.php')
-rw-r--r--endpoints/lib/vboxconnector.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php
index 01f8384..7f57fba 100644
--- a/endpoints/lib/vboxconnector.php
+++ b/endpoints/lib/vboxconnector.php
@@ -3828,6 +3828,7 @@ class vboxconnector {
$this->session->machine->VRDEServer->enabled = 1;
$this->session->machine->VRDEServer->authTimeout = 5000;
$this->session->machine->VRDEServer->setVRDEProperty('TCP/Ports',($this->settings->vrdeports ? $this->settings->vrdeports : '3390-5000'));
+ $this->session->machine->VRDEServer->setVRDEProperty('TCP/Address',($this->settings->vrdeaddress ? $this->settings->vrdeaddress : '127.0.0.1');
}
} catch (Exception $e) {
//Ignore