mirror of
https://github.com/opnsense/core.git
synced 2025-12-10 00:32:09 -06:00
System: High Availability - missing syslog caused by netflow_xmlrpc_sync() shadowing the section
PR: https://github.com/opnsense/core/issues/9481 (cherry picked from commit 6e478cf67131b2646ea53e2da3bb855a74bb5b3b) (cherry picked from commit 4bfa65463c869d0e9decd26aa9a3e1e315e8b579)
This commit is contained in:
parent
0fba32ed25
commit
ff084dadab
@ -375,7 +375,7 @@ function core_xmlrpc_sync()
|
||||
$result[] = [
|
||||
'description' => gettext('System logging'),
|
||||
'section' => 'syslog,OPNsense.Syslog',
|
||||
'id' => 'syslog',
|
||||
'id' => 'syslog-ng',
|
||||
'services' => ['syslogd'],
|
||||
];
|
||||
|
||||
|
||||
@ -80,13 +80,10 @@ function netflow_services()
|
||||
*/
|
||||
function netflow_xmlrpc_sync()
|
||||
{
|
||||
$result = [];
|
||||
$result[] = array(
|
||||
return [[
|
||||
'description' => gettext('Netflow / Insight'),
|
||||
'id' => 'syslog', /* historic yet tolerated typo */
|
||||
'section' => 'OPNsense.Netflow',
|
||||
'id' => 'syslog',
|
||||
'services' => ["samplicate", "flowd_aggregate"],
|
||||
);
|
||||
|
||||
return $result;
|
||||
'services' => ['samplicate', 'flowd_aggregate'],
|
||||
]];
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user