summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorWarren Baker <warren@decoy.co.za>2014-03-29 11:29:23 +0200
committerWarren Baker <warren@decoy.co.za>2014-03-29 11:29:23 +0200
commit3b7df5f15b81f271698da90f8397fa3e5960bd05 (patch)
tree2d4ea4947988b1308325432e6dd27a33715a76ed /usr
parent54b168778e1e435ddcd76b32f4f22dac86307568 (diff)
downloadpfsense-3b7df5f15b81f271698da90f8397fa3e5960bd05.zip
pfsense-3b7df5f15b81f271698da90f8397fa3e5960bd05.tar.gz
Reference unbound subsystem as dirty
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/services_unbound_advanced.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/services_unbound_advanced.php b/usr/local/www/services_unbound_advanced.php
index b5e305e..4a74dc7 100644
--- a/usr/local/www/services_unbound_advanced.php
+++ b/usr/local/www/services_unbound_advanced.php
@@ -90,6 +90,8 @@ if ($_POST) {
$retval = 0;
$retval = services_unbound_configure();
$savemsg = get_std_save_message($retval);
+ if ($retval == 0)
+ clear_subsystem_dirty('unbound');
}
}
@@ -113,7 +115,7 @@ function enable_change(enable_over) {
<form action="services_unbound_advanced.php" method="post" name="iform" id="iform">
<?php if ($input_errors) print_input_errors($input_errors); ?>
<?php if ($savemsg) print_info_box($savemsg); ?>
-<?php if (is_subsystem_dirty('hosts')): ?><p>
+<?php if (is_subsystem_dirty('unbound')): ?><p>
<?php print_info_box_np(gettext("The configuration of the DNS Resolver, has been changed") . ".<br />" . gettext("You must apply the changes in order for them to take effect."));?><br />
<?php endif; ?>
<table width="100%" border="0" cellpadding="0" cellspacing="0" summary="services unbound advanced">
OpenPOWER on IntegriCloud