summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_unbound_advanced.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2014-11-03 10:54:21 -0200
committerRenato Botelho <garga@FreeBSD.org>2014-11-03 10:54:21 -0200
commitfe9d4894a250ae569aa4c717e8c473c77dc9187c (patch)
tree49e1406cf0353e9d91b6007b0371e4510a6732e5 /usr/local/www/services_unbound_advanced.php
parent2783e408c429e8c2028704aba5054118cd5163a4 (diff)
downloadpfsense-fe9d4894a250ae569aa4c717e8c473c77dc9187c.zip
pfsense-fe9d4894a250ae569aa4c717e8c473c77dc9187c.tar.gz
Fix indent
Diffstat (limited to 'usr/local/www/services_unbound_advanced.php')
-rw-r--r--usr/local/www/services_unbound_advanced.php60
1 files changed, 30 insertions, 30 deletions
diff --git a/usr/local/www/services_unbound_advanced.php b/usr/local/www/services_unbound_advanced.php
index 9640074..aad65fd 100644
--- a/usr/local/www/services_unbound_advanced.php
+++ b/usr/local/www/services_unbound_advanced.php
@@ -6,26 +6,26 @@
Copyright (C) 2011 Warren Baker (warren@pfsense.org)
All rights reserved.
- Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions are met:
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
- 1. Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.
+ 1. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
- 2. Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.
+ 2. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
- AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
- AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
- OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
- POSSIBILITY OF SUCH DAMAGE.
+ THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES,
+ INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
+ AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
+ AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
+ OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
*/
/*
pfSense_MODULE: dnsresolver
@@ -86,38 +86,38 @@ if ($_POST) {
$savemsg = get_std_save_message($retval);
if ($retval == 0) {
clear_subsystem_dirty('unbound');
- }
+ }
} else {
if (isset($_POST['hideidentity'])) {
$config['unbound']['hideidentity'] = true;
- } else {
+ } else {
unset($config['unbound']['hideidentity']);
- }
+ }
if (isset($_POST['hideversion'])) {
$config['unbound']['hideversion'] = true;
- } else {
+ } else {
unset($config['unbound']['hideversion']);
- }
+ }
if (isset($_POST['prefetch'])) {
$config['unbound']['prefetch'] = true;
- } else {
+ } else {
unset($config['unbound']['prefetch']);
- }
+ }
if (isset($_POST['prefetchkey'])) {
$config['unbound']['prefetchkey'] = true;
- } else {
+ } else {
unset($config['unbound']['prefetchkey']);
- }
+ }
if (isset($_POST['hardenglue'])) {
$config['unbound']['hardenglue'] = true;
- } else {
+ } else {
unset($config['unbound']['hardenglue']);
- }
+ }
if (isset($_POST['dnssecstripped'])) {
$config['unbound']['dnssecstripped'] = true;
- } else {
+ } else {
unset($config['unbound']['dnssecstripped']);
- }
+ }
$config['unbound']['msgcachesize'] = $_POST['msgcachesize'];
$config['unbound']['outgoing_num_tcp'] = $_POST['outgoing_num_tcp'];
$config['unbound']['incoming_num_tcp'] = $_POST['incoming_num_tcp'];
OpenPOWER on IntegriCloud