diff options
author | Warren Baker <warren@decoy.co.za> | 2014-04-28 22:20:51 +0200 |
---|---|---|
committer | Warren Baker <warren@decoy.co.za> | 2014-04-28 22:20:51 +0200 |
commit | d939c1d4b662508e151280aa83a18ce412404540 (patch) | |
tree | d938e265f15259af74079b63918c615977dbbc9b /usr/local/www/services_dhcpv6.php | |
parent | ed225b4c9c991d2dd67fbbf47b52602bb97cd2a5 (diff) | |
download | pfsense-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.php | 4 |
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) |