security/openconnect: register device from plugin

This commit is contained in:
Franco Fichtner
2022-08-29 09:56:29 +02:00
parent f67b03e0fb
commit 9ce64d437a
2 changed files with 6 additions and 1 deletions
+1
View File
@@ -1,5 +1,6 @@
PLUGIN_NAME= openconnect
PLUGIN_VERSION= 1.4.2
PLUGIN_REVISION= 1
PLUGIN_COMMENT= OpenConnect Client
PLUGIN_DEPENDS= openconnect
PLUGIN_MAINTAINER= m.muenz@gmail.com
@@ -53,7 +53,6 @@ function openconnect_services()
return $services;
}
function openconnect_interfaces()
{
$interfaces = array();
@@ -82,3 +81,8 @@ function openconnect_xmlrpc_sync()
$result['services'] = ['openconnect'];
return array($result);
}
function openconnect_devices()
{
return [['pattern' => '^ocvpn', 'volatile' => true]];
}