diff options
author | Phil Davis <phil.davis@inf.org> | 2015-05-23 20:45:43 +0545 |
---|---|---|
committer | Phil Davis <phil.davis@inf.org> | 2015-05-23 20:45:43 +0545 |
commit | 4230ad167532f8be0165b93d4e077e2148ea80c3 (patch) | |
tree | 486e7324a7c7a6d684ddba0f3048f8e57fa8c9cc /usr/local/www/services_dhcp.php | |
parent | 88cbd0049b78bd731648be68c13e08161e5e943c (diff) | |
download | pfsense-4230ad167532f8be0165b93d4e077e2148ea80c3.zip pfsense-4230ad167532f8be0165b93d4e077e2148ea80c3.tar.gz |
Consistent clear_subsystem_dirty after unbound restart
from services_dhcp.
This looks like it is wanting curlies to put all clear_subsytem_dirty inside the "if".
Diffstat (limited to 'usr/local/www/services_dhcp.php')
-rw-r--r-- | usr/local/www/services_dhcp.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php index f0b5be9..69846d5 100644 --- a/usr/local/www/services_dhcp.php +++ b/usr/local/www/services_dhcp.php @@ -504,10 +504,11 @@ if ((isset($_POST['submit']) || isset($_POST['apply'])) && (!$input_errors)) { } } else if (isset($config['unbound']['enable']) && isset($config['unbound']['regdhcpstatic'])) { $retvaldns = services_unbound_configure(); - if ($retvaldns == 0) + if ($retvaldns == 0) { clear_subsystem_dirty('unbound'); clear_subsystem_dirty('hosts'); clear_subsystem_dirty('staticmaps'); + } } else { $retvaldhcp = services_dhcpd_configure(); if ($retvaldhcp == 0) |