From 6ab8f8cf2d3c208966d921ddbf24cb63de77601e Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 11 Jan 2024 09:27:56 +0100 Subject: [PATCH] firewall: patch in missing sync sections #6383 --- src/etc/inc/plugins.inc.d/pf.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/inc/plugins.inc.d/pf.inc b/src/etc/inc/plugins.inc.d/pf.inc index 39d1c26da..5b57bf920 100644 --- a/src/etc/inc/plugins.inc.d/pf.inc +++ b/src/etc/inc/plugins.inc.d/pf.inc @@ -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'], );