diff options
author | Stian Viskjer <stian@viskjer.net> | 2020-07-01 23:12:58 +0200 |
---|---|---|
committer | Stian Viskjer <stian@viskjer.net> | 2020-07-01 23:12:58 +0200 |
commit | bca2bf1b5d810d72ba6b2fa579a150901ae9e462 (patch) | |
tree | 7aff8e3f3f80b7024fe52347dd8d74c304287426 | |
parent | 44bfa810b436fd4a86d91df7026c9cac1f7eb630 (diff) | |
download | phpvirtualbox-bca2bf1b5d810d72ba6b2fa579a150901ae9e462.zip phpvirtualbox-bca2bf1b5d810d72ba6b2fa579a150901ae9e462.tar.gz phpvirtualbox-bca2bf1b5d810d72ba6b2fa579a150901ae9e462.tar.bz2 |
Fix adding USB device filter from device
Update function remote_hostGetUSBDevices with new / removed IUSBDevice
attributes.
https://www.virtualbox.org/sdkref/interface_i_u_s_b_device.html.
-rw-r--r-- | endpoints/lib/vboxconnector.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/endpoints/lib/vboxconnector.php b/endpoints/lib/vboxconnector.php index 93d0232..ee53f36 100644 --- a/endpoints/lib/vboxconnector.php +++ b/endpoints/lib/vboxconnector.php @@ -3497,10 +3497,12 @@ class vboxconnector { 'serialNumber' => $d->serialNumber, 'address' => $d->address, 'port' => $d->port, + 'portPath' => $d->portPath, 'version' => $d->version, - 'portVersion' => $d->portVersion, + 'speed' => $d->speed, 'remote' => $d->remote, - 'state' => (string)$d->state, + 'deviceInfo' => $d->deviceInfo, + 'backend' => $d->backend, ); $d->releaseRemote(); } |