mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/wireguard: register device from plugin
This commit is contained in:
@@ -78,3 +78,8 @@ function wireguard_xmlrpc_sync()
|
||||
$result['services'] = ['wireguard-go'];
|
||||
return array($result);
|
||||
}
|
||||
|
||||
function wireguard_devices()
|
||||
{
|
||||
return [['pattern' => '^wg', 'volatile' => true]];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user