From cddeba55266123e843da0af8bad57167d9e0c475 Mon Sep 17 00:00:00 2001 From: James Turnbull Date: Fri, 20 Feb 2026 18:23:31 -0500 Subject: [PATCH] In 1.6.3 the Defguard Gateway service is not being registered. This is is because of a mismatch between field name case. OPNsense's MVC framework stores XML model field names exactly as defined. The model defines with a capital E, and that's how it appears in the $config array at runtime. In our config we have half the cases looking for 'enabled' and the other looking for 'Enabled'. Making it consistent. --- opnsense/src/etc/inc/plugins.inc.d/defguardgateway.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opnsense/src/etc/inc/plugins.inc.d/defguardgateway.inc b/opnsense/src/etc/inc/plugins.inc.d/defguardgateway.inc index d7d800b2..ae143021 100644 --- a/opnsense/src/etc/inc/plugins.inc.d/defguardgateway.inc +++ b/opnsense/src/etc/inc/plugins.inc.d/defguardgateway.inc @@ -7,7 +7,7 @@ function defguardgateway_services() $pidfile = (string) (new OPNsense\DefguardGateway\DefguardGateway())->general->PidFile; - if (isset($config['OPNsense']['defguardgateway']['general']['enabled']) && $config['OPNsense']['defguardgateway']['general']['enabled'] == 1) { + if (isset($config['OPNsense']['defguardgateway']['general']['Enabled']) && $config['OPNsense']['defguardgateway']['general']['Enabled'] == 1) { $services[] = [ "description" => "Defguard Gateway", "configd" => [