summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-03-07 11:48:32 +0100
committerGitHub <noreply@github.com>2017-03-07 11:48:32 +0100
commitfb3a83524284f06d4778b05ae0defa0dd15a2516 (patch)
tree79c8b8705eaf21bad3c4916e2ad2b58dc5c81413 /src
parent18278432fdd58c440f72eff1868eda5c1c9a8320 (diff)
downloadpfsense-fb3a83524284f06d4778b05ae0defa0dd15a2516.zip
pfsense-fb3a83524284f06d4778b05ae0defa0dd15a2516.tar.gz
Add reason to write_config() calls
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/services_unbound_acls.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/services_unbound_acls.php b/src/usr/local/www/services_unbound_acls.php
index 5264020..c6c3bf3 100644
--- a/src/usr/local/www/services_unbound_acls.php
+++ b/src/usr/local/www/services_unbound_acls.php
@@ -56,7 +56,7 @@ if ($_POST['act'] == "del") {
}
unset($a_acls[$id]);
- write_config();
+ write_config(gettext("Access list deleted from DNS Resolver."));
mark_subsystem_dirty('unbound');
}
@@ -142,7 +142,7 @@ if ($_POST['save']) {
}
mark_subsystem_dirty("unbound");
- write_config();
+ write_config(gettext("Access list configured for DNS Resolver."));
pfSenseHeader("/services_unbound_acls.php");
exit;
OpenPOWER on IntegriCloud