mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
security/openconnect: register device from plugin
This commit is contained in:
@@ -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]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user