summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dhcp.php
diff options
context:
space:
mode:
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