mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
plugins: remove obsolete 'remote' keyword
This commit is contained in:
@@ -39,7 +39,6 @@ function haproxy_syslog()
|
||||
$syslogconf['haproxy'] = array(
|
||||
'local' => '/var/haproxy/var/run/log',
|
||||
'facility' => array('haproxy'),
|
||||
'remote' => 'relayd',
|
||||
);
|
||||
|
||||
return $syslogconf;
|
||||
|
||||
@@ -83,9 +83,11 @@ function relayd_xmlrpc_sync()
|
||||
|
||||
function relayd_syslog()
|
||||
{
|
||||
$logfacilities = array();
|
||||
$logfacilities = [];
|
||||
|
||||
$logfacilities['relayd'] = array('facility' => array('relayd'), 'remote' => 'relayd');
|
||||
$logfacilities['relayd'] = [
|
||||
'facility' => ['relayd']
|
||||
];
|
||||
|
||||
return $logfacilities;
|
||||
}
|
||||
|
||||
@@ -41,12 +41,12 @@ function tinc_enabled()
|
||||
|
||||
function tinc_syslog()
|
||||
{
|
||||
$logfacilities = array();
|
||||
$logfacilities = [];
|
||||
|
||||
$logfacilities['tinc'] = [
|
||||
'facility' => ['tincd'],
|
||||
];
|
||||
|
||||
$logfacilities['tinc'] = array(
|
||||
'facility' => array('tincd'),
|
||||
'remote' => 'vpn',
|
||||
);
|
||||
$mdl = new \OPNsense\Tinc\Tinc();
|
||||
|
||||
foreach ($mdl->networks->network->iterateItems() as $network) {
|
||||
|
||||
Reference in New Issue
Block a user