summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-08-06 19:44:23 +0000
committerBill Marquette <billm@pfsense.org>2005-08-06 19:44:23 +0000
commit5eb817bc86ad81ac49c2cd5652158204d6cea3f9 (patch)
treee5bcfc15ec5c4d0dbd4b082f18b04309698138a1
parenta65df5d0be26c490ddba9063a832c31fe0d79b8c (diff)
downloadpfsense-5eb817bc86ad81ac49c2cd5652158204d6cea3f9.zip
pfsense-5eb817bc86ad81ac49c2cd5652158204d6cea3f9.tar.gz
Ticket #283 - make the error message contain enough information to help
further debugging
-rwxr-xr-xusr/local/www/firewall_nat_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php
index 7e6bb17..0e24b28 100755
--- a/usr/local/www/firewall_nat_edit.php
+++ b/usr/local/www/firewall_nat_edit.php
@@ -95,7 +95,7 @@ if ($_POST) {
$input_errors[] = "The local port must be an integer between 1 and 65535.";
}
if (($_POST['localip'] && !is_ipaddroralias($_POST['localip']))) {
- $input_errors[] = "A valid NAT IP address or host alias must be specified.";
+ $input_errors[] = "\"{$_POST['localip']}\" is not valid NAT IP address or host alias.";
}
if ($_POST['beginport'] > $_POST['endport']) {
OpenPOWER on IntegriCloud