aboutsummaryrefslogtreecommitdiffstats
path: root/config/unbound/unbound.xml
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2010-12-07 23:10:56 +0200
committerWarren Baker <warren@decoy.co.za>2010-12-07 23:10:56 +0200
commit0d79daca0d90d702fcda50b756fed00491b4e728 (patch)
tree84303362b9ec6b072556cc2575aa29ee5fd68552 /config/unbound/unbound.xml
parentacfca044aaa531227dfd7a9a1ba8c94ef8f09d67 (diff)
downloadpfsense-packages-0d79daca0d90d702fcda50b756fed00491b4e728.tar.gz
pfsense-packages-0d79daca0d90d702fcda50b756fed00491b4e728.tar.bz2
pfsense-packages-0d79daca0d90d702fcda50b756fed00491b4e728.zip
Add unbound_validation() to ensure that DNSMasq is not enabled, if so dont disable it but inform the user. Also dont assume Unbound should be set to 'on' but rather inform the user they need to configure it before it will be started.
Diffstat (limited to 'config/unbound/unbound.xml')
-rw-r--r--config/unbound/unbound.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/unbound/unbound.xml b/config/unbound/unbound.xml
index b0bfcc16..f7a851eb 100644
--- a/config/unbound/unbound.xml
+++ b/config/unbound/unbound.xml
@@ -177,6 +177,9 @@
<custom_add_php_command>
</custom_add_php_command>
<custom_php_command_before_form/>
+ <custom_php_validation_command>
+ unbound_validate($_POST);
+ </custom_php_validation_command>
<custom_php_resync_config_command>
unbound_reconfigure();
</custom_php_resync_config_command>