firewall: patch in missing sync sections #6383

This commit is contained in:
Franco Fichtner 2024-01-11 09:27:56 +01:00
parent b121118fc1
commit 6ab8f8cf2d

View File

@ -208,7 +208,7 @@ function pf_xmlrpc_sync()
$result[] = array(
'description' => gettext('Firewall Rules'),
'help' => gettext('Synchronize the firewall rules to the other HA host.'),
'section' => 'filter',
'section' => 'filter,OPNsense.Firewall.Filter.rules',
'id' => 'rules',
'services' => ['pf'],
);
@ -239,7 +239,7 @@ function pf_xmlrpc_sync()
$result[] = array(
'description' => gettext('NAT'),
'help' => gettext('Synchronize the NAT rules over to the other HA host.'),
'section' => 'nat',
'section' => 'nat,OPNsense.Firewall.Filter.snatrules,OPNsense,Firewall.Filter.npt',
'id' => 'nat',
'services' => ['pf'],
);