summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcpv6.php
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2014-04-28 22:20:51 +0200
committerWarren Baker <warren@decoy.co.za>2014-04-28 22:20:51 +0200
commitd939c1d4b662508e151280aa83a18ce412404540 (patch)
treed938e265f15259af74079b63918c615977dbbc9b /usr/local/www/services_dhcpv6.php
parented225b4c9c991d2dd67fbbf47b52602bb97cd2a5 (diff)
downloadpfsense-d939c1d4b662508e151280aa83a18ce412404540.zip
pfsense-d939c1d4b662508e151280aa83a18ce412404540.tar.gz
Reconfigure unbound on dhcp edit
Diffstat (limited to 'usr/local/www/services_dhcpv6.php')
-rw-r--r--usr/local/www/services_dhcpv6.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcpv6.php b/usr/local/www/services_dhcpv6.php
index ff0cb04..44f75c7 100644
--- a/usr/local/www/services_dhcpv6.php
+++ b/usr/local/www/services_dhcpv6.php
@@ -339,6 +339,10 @@ if ($_POST) {
clear_subsystem_dirty('hosts');
clear_subsystem_dirty('staticmaps');
}
+ } else if (isset($config['unbound']['enable']) && isset($config['unbound']['regdhcpstatic'])) {
+ $retvaldns = services_unbound_configure();
+ if ($retvaldns == 0)
+ clear_subsystem_dirty('unbound');
} else {
$retvaldhcp = services_dhcpd_configure();
if ($retvaldhcp == 0)
OpenPOWER on IntegriCloud