Skip to content

Commit d3676e9

Browse files
authored
Merge pull request phpvirtualbox#242 from stianvis/fix_usb_device_filter_add
Fix adding USB device filter from device
2 parents 1430c53 + bca2bf1 commit d3676e9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

endpoints/lib/vboxconnector.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3497,10 +3497,12 @@ public function remote_hostGetUSBDevices($args) {
34973497
'serialNumber' => $d->serialNumber,
34983498
'address' => $d->address,
34993499
'port' => $d->port,
3500+
'portPath' => $d->portPath,
35003501
'version' => $d->version,
3501-
'portVersion' => $d->portVersion,
3502+
'speed' => $d->speed,
35023503
'remote' => $d->remote,
3503-
'state' => (string)$d->state,
3504+
'deviceInfo' => $d->deviceInfo,
3505+
'backend' => $d->backend,
35043506
);
35053507
$d->releaseRemote();
35063508
}

0 commit comments

Comments
 (0)