summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2014-04-28 22:22:09 +0200
committerWarren Baker <warren@decoy.co.za>2014-04-28 22:22:09 +0200
commit3453affc39af184682f5c2f3c698ea0e3ee02b02 (patch)
treedca4dd68a7902e4f0a932a9a03bc4e67fda878a2 /usr/local/www/services_dhcp.php
parentd939c1d4b662508e151280aa83a18ce412404540 (diff)
downloadpfsense-3453affc39af184682f5c2f3c698ea0e3ee02b02.zip
pfsense-3453affc39af184682f5c2f3c698ea0e3ee02b02.tar.gz
Reconfigure unbound on dhcpv4 edit
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rw-r--r--usr/local/www/services_dhcp.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index 0a6f7db..c9b7cb2 100644
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -533,6 +533,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