From ebd9ec8f3cec7da443f482a2d3fb46fed7d459da Mon Sep 17 00:00:00 2001 From: Joerg Werner Date: Sat, 23 Apr 2022 17:37:04 +0200 Subject: [PATCH] unbound: fix indentation replaced tabs with four spaces --- src/etc/inc/plugins.inc.d/unbound.inc | 8 ++++---- src/opnsense/mvc/app/views/OPNsense/Unbound/stats.volt | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/etc/inc/plugins.inc.d/unbound.inc b/src/etc/inc/plugins.inc.d/unbound.inc index 1f0c308423b..47e1e826b99 100644 --- a/src/etc/inc/plugins.inc.d/unbound.inc +++ b/src/etc/inc/plugins.inc.d/unbound.inc @@ -329,7 +329,7 @@ EOD; $dohdot_settings = ''; if (isset($config['unbound']['enable_doh']) || isset($config['unbound']['enable_dot'])) { $cert =& lookup_cert($config['unbound']['dohdot_cert']); - $chain = []; + $chain = []; $ca_chain = ca_chain_array($cert); if (is_array($ca_chain)) { foreach ($ca_chain as $entry) { @@ -346,11 +346,11 @@ EOD; '/var/unbound/dohdot.key', $cert['prv'] ); - $dohdot_settings .= "# DoH and DoT\n"; - if (isset($config['unbound']['enable_dot'])) { + $dohdot_settings .= "# DoH and DoT\n"; + if (isset($config['unbound']['enable_dot'])) { $dohdot_settings .= "tls-port: $port_dot\n"; } - if (isset($config['unbound']['enable_doh'])) { + if (isset($config['unbound']['enable_doh'])) { $dohdot_settings .= "https-port: $port_doh\n"; } $dohdot_settings .= "tls-service-key: /var/unbound/dohdot.key\n"; diff --git a/src/opnsense/mvc/app/views/OPNsense/Unbound/stats.volt b/src/opnsense/mvc/app/views/OPNsense/Unbound/stats.volt index 1f9e44987a2..7b6e0d85435 100644 --- a/src/opnsense/mvc/app/views/OPNsense/Unbound/stats.volt +++ b/src/opnsense/mvc/app/views/OPNsense/Unbound/stats.volt @@ -54,7 +54,7 @@ const descriptionNumQuery = { 'query': { - 'type': { + 'type': { 'A': "{{ lang._('A') }}", 'AAAA': "{{ lang._('AAAA') }}", 'CNAME': "{{ lang._('CNAME') }}", @@ -171,7 +171,7 @@ // initial fetch updateStats(); - updateServiceControlUI('unbound'); + updateServiceControlUI('unbound'); });