summaryrefslogtreecommitdiffstats
path: root/src/usr/local
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-03-09 19:24:45 +0100
committerGitHub <noreply@github.com>2017-03-09 19:24:45 +0100
commit3f53358087f25acc5d9f15eb0d73ac0870f23067 (patch)
treee9275df344b996b6f1dfaef7e457212aaa3f823e /src/usr/local
parent2b359eda6d4d6712888a59cb5b01aeee245e34be (diff)
downloadpfsense-3f53358087f25acc5d9f15eb0d73ac0870f23067.zip
pfsense-3f53358087f25acc5d9f15eb0d73ac0870f23067.tar.gz
Add reason to write_config() calls
Diffstat (limited to 'src/usr/local')
-rw-r--r--src/usr/local/www/vpn_ipsec.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/vpn_ipsec.php b/src/usr/local/www/vpn_ipsec.php
index 22ef39d..27ff7ce 100644
--- a/src/usr/local/www/vpn_ipsec.php
+++ b/src/usr/local/www/vpn_ipsec.php
@@ -65,7 +65,7 @@ if ($_POST['apply']) {
foreach ($_POST['p1entry'] as $p1entrydel) {
unset($a_phase1[$p1entrydel]);
}
- if (write_config()) {
+ if (write_config(gettext("Deleted selected IPsec Phase 1 entries."))) {
mark_subsystem_dirty('ipsec');
}
}
@@ -75,7 +75,7 @@ if ($_POST['apply']) {
foreach ($_POST['p2entry'] as $p2entrydel) {
unset($a_phase2[$p2entrydel]);
}
- if (write_config()) {
+ if (write_config(gettext("Deleted selected IPsec Phase 2 entries."))) {
mark_subsystem_dirty('ipsec');
}
}
@@ -209,7 +209,7 @@ if ($_POST['apply']) {
}
if ($save === 1) {
- if (write_config()) {
+ if (write_config(gettext("Saved configuration changes for IPsec tunnels."))) {
mark_subsystem_dirty('ipsec');
}
}
OpenPOWER on IntegriCloud