From 7b995bec3f7c389228688206aae0b30d63b09340 Mon Sep 17 00:00:00 2001 From: Chris Buechler Date: Sat, 12 Dec 2009 23:34:14 -0500 Subject: clarify input validation message --- usr/local/www/system_gateways_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local') 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']))) { -- cgit v1.1