diff options
author | Phil Davis <phil.davis@inf.org> | 2015-05-23 20:45:43 +0545 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2015-05-25 08:22:38 -0300 |
commit | 3ccb7fc3151073df549f4b0e803ff74cae8e9d87 (patch) | |
tree | 776aadd740b8ae9707a0a2de026cfd8576d082e6 | |
parent | e2c20d527e511406da4da9004cfa6c72187a5008 (diff) | |
download | pfsense-3ccb7fc3151073df549f4b0e803ff74cae8e9d87.zip pfsense-3ccb7fc3151073df549f4b0e803ff74cae8e9d87.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".
-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) |