mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/wireguard: Add config sync (#2282)
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
PLUGIN_NAME= wireguard
|
||||
PLUGIN_VERSION= 1.4
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_VERSION= 1.5
|
||||
PLUGIN_COMMENT= WireGuard VPN service
|
||||
PLUGIN_DEPENDS= wireguard
|
||||
PLUGIN_MAINTAINER= m.muenz@gmail.com
|
||||
|
||||
@@ -16,6 +16,10 @@ WWW: https://www.wireguard.com/
|
||||
Changelog
|
||||
---------
|
||||
|
||||
1.5
|
||||
|
||||
* Allow synchronization of config
|
||||
|
||||
1.4
|
||||
|
||||
* Add IPv6 gateway support (contributed by Alexander Korinek)
|
||||
|
||||
@@ -68,3 +68,12 @@ function wireguard_interfaces()
|
||||
$interfaces['wireguard'] = $oic;
|
||||
return $interfaces;
|
||||
}
|
||||
|
||||
function wireguard_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
$result['id'] = 'wireguard';
|
||||
$result['section'] = 'OPNsense.wireguard';
|
||||
$result['description'] = gettext('WireGuard');
|
||||
return array($result);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user