From 7fbfaa3a1b79f57fbf153d147861ad831e7bc034 Mon Sep 17 00:00:00 2001 From: Jannik Schönartz Date: Fri, 29 Dec 2017 17:33:20 +0100 Subject: [usb-lock-off] Moved with-interfaces from the specific props to the general device props. Same devices should have the same interfaces. --- modules-available/usblockoff/api.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules-available') diff --git a/modules-available/usblockoff/api.inc.php b/modules-available/usblockoff/api.inc.php index 298dd948..6a5e4a7d 100644 --- a/modules-available/usblockoff/api.inc.php +++ b/modules-available/usblockoff/api.inc.php @@ -17,14 +17,14 @@ function HandleParameters() $hwProps = array( 'vendorid' => $vid, 'productid' => $pid, - 'name' => $name + 'name' => $name, + 'with-interface' => Request::get('with-interface', '', 'string') ); // TODO: WITH INTERFACE in the HW table?! Should be equal for every device but not guaranteed (ODROID). $deviceProps = array( 'hash' => Request::get('hash', '', 'string'), 'parent-hash' => Request::get('parent-hash', '', 'string'), 'via-port' => Request::get('via-port', '', 'string'), - 'with-interface' => Request::get('with-interface', '', 'string'), 'interface-policy' => Request::get('interface-policy', '', 'string'), 'machineuuid' => $client['muid'], 'user' => $client['user'], -- cgit v1.2.3-55-g7522