summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-06 14:22:46 -0200
committerRenato Botelho <renato@netgate.com>2016-01-06 14:27:55 -0200
commitb424b7efefd0d1a76259c9ada6bdb9ee825354af (patch)
treed02aafb139f6b31e827b58c625f0f2a5bd40aa85
parentbe5132091a7d7dbc5bf01380ba40db85163941ce (diff)
downloadpfsense-b424b7efefd0d1a76259c9ada6bdb9ee825354af.zip
pfsense-b424b7efefd0d1a76259c9ada6bdb9ee825354af.tar.gz
Fix field name validation
-rw-r--r--src/usr/local/www/services_pppoe_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/services_pppoe_edit.php b/src/usr/local/www/services_pppoe_edit.php
index 2392733..eca5618 100644
--- a/src/usr/local/www/services_pppoe_edit.php
+++ b/src/usr/local/www/services_pppoe_edit.php
@@ -151,7 +151,7 @@ if ($_POST) {
if (($_POST['localip'] && !is_ipaddr($_POST['localip']))) {
$input_errors[] = gettext("A valid server address must be specified.");
}
- if (($_POST['pppoe_subnet'] && !is_ipaddr($_POST['remoteip']))) {
+ if (($_POST['remoteip'] && !is_ipaddr($_POST['remoteip']))) {
$input_errors[] = gettext("A valid remote start address must be specified.");
}
if (($_POST['radiusserver'] && !is_ipaddr($_POST['radiusserver']))) {
OpenPOWER on IntegriCloud