diff options
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/services_pppoe_edit.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/usr/local/www/services_pppoe_edit.php b/src/usr/local/www/services_pppoe_edit.php index e34fcb0..1a4b216 100644 --- a/src/usr/local/www/services_pppoe_edit.php +++ b/src/usr/local/www/services_pppoe_edit.php @@ -160,9 +160,7 @@ if ($_POST) { if (!is_numericint($_POST['n_pppoe_units']) || $_POST['n_pppoe_units'] > 255) { $input_errors[] = gettext("Number of PPPoE users must be between 1 and 255"); } - if (!is_numeric($_POST['pppoe_subnet']) || - $_POST['pppoe_subnet'] < 0 || - $_POST['pppoe_subnet'] > 32) { + if (!is_numericint($_POST['pppoe_subnet']) || $_POST['pppoe_subnet'] > 32) { $input_errors[] = gettext("Subnet mask must be an interger between 0 and 32"); } |