diff options
author | Renato Botelho <renato@netgate.com> | 2016-01-06 14:22:46 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-01-06 14:27:55 -0200 |
commit | b424b7efefd0d1a76259c9ada6bdb9ee825354af (patch) | |
tree | d02aafb139f6b31e827b58c625f0f2a5bd40aa85 /src/usr/local/www/services_pppoe_edit.php | |
parent | be5132091a7d7dbc5bf01380ba40db85163941ce (diff) | |
download | pfsense-b424b7efefd0d1a76259c9ada6bdb9ee825354af.zip pfsense-b424b7efefd0d1a76259c9ada6bdb9ee825354af.tar.gz |
Fix field name validation
Diffstat (limited to 'src/usr/local/www/services_pppoe_edit.php')
-rw-r--r-- | src/usr/local/www/services_pppoe_edit.php | 2 |
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']))) { |