summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoktornotor <notordoktor@gmail.com>2017-03-21 17:29:07 +0100
committerGitHub <noreply@github.com>2017-03-21 17:29:07 +0100
commitfb1c4986596051abfdbb855d10da4106b015d16e (patch)
tree2927782b83db5196c177f904eb8c6f75855f8bfa
parent7120557ee90d5d70bad02a81ee638c97267044d4 (diff)
downloadpfsense-fb1c4986596051abfdbb855d10da4106b015d16e.zip
pfsense-fb1c4986596051abfdbb855d10da4106b015d16e.tar.gz
Add reason to write_config() call
-rw-r--r--src/usr/local/www/firewall_nat_1to1_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/firewall_nat_1to1_edit.php b/src/usr/local/www/firewall_nat_1to1_edit.php
index d16f4ce..f3f3734 100644
--- a/src/usr/local/www/firewall_nat_1to1_edit.php
+++ b/src/usr/local/www/firewall_nat_1to1_edit.php
@@ -279,7 +279,7 @@ if ($_POST['save']) {
}
}
- if (write_config()) {
+ if (write_config(gettext("Firewall: NAT: 1:1 - saved/edited NAT 1:1 mapping."))) {
mark_subsystem_dirty('natconf');
}
header("Location: firewall_nat_1to1.php");
OpenPOWER on IntegriCloud