summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_gateways_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2009-12-12 23:34:14 -0500
committerChris Buechler <cmb@pfsense.org>2009-12-12 23:34:36 -0500
commit7b995bec3f7c389228688206aae0b30d63b09340 (patch)
tree181e93bb6447907967584805b87e51d1cc321522 /usr/local/www/system_gateways_edit.php
parent473d0ff02fb2dddca7e98435614a0a47ba5e7115 (diff)
downloadpfsense-7b995bec3f7c389228688206aae0b30d63b09340.zip
pfsense-7b995bec3f7c389228688206aae0b30d63b09340.tar.gz
clarify input validation message
Diffstat (limited to 'usr/local/www/system_gateways_edit.php')
-rwxr-xr-xusr/local/www/system_gateways_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_gateways_edit.php b/usr/local/www/system_gateways_edit.php
index fd76a3d..415823f 100755
--- a/usr/local/www/system_gateways_edit.php
+++ b/usr/local/www/system_gateways_edit.php
@@ -95,7 +95,7 @@ if ($_POST) {
}
if ($_POST['gateway'] && (is_ipaddr($_POST['gateway'])) && ($pconfig['attribute'] != "system")) {
if(! ip_in_subnet($_POST['gateway'], get_interface_subnet($interface))) {
- $input_errors[] = "The Address {$_POST['gateway']} does not lie in the interface subnet";
+ $input_errors[] = "The Address {$_POST['gateway']} does not lie within the chosen interface's subnet";
}
}
if ((($_POST['monitor'] <> "") && !is_ipaddr($_POST['monitor']))) {
OpenPOWER on IntegriCloud