diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-01-28 22:24:21 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-01-28 22:24:21 -0600 |
commit | f8ccc7041f216992388f3d61f72991f5b29399e7 (patch) | |
tree | 2acebda84ea8cdafc12d33394c90ffa099ee8b21 | |
parent | 655c577b69e9232f7f4e2bdd1328e7fc5fa58d60 (diff) | |
download | pfsense-f8ccc7041f216992388f3d61f72991f5b29399e7.zip pfsense-f8ccc7041f216992388f3d61f72991f5b29399e7.tar.gz |
OpenVPN maxclients must be an integer not just a number
-rw-r--r-- | src/usr/local/www/vpn_openvpn_server.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/vpn_openvpn_server.php b/src/usr/local/www/vpn_openvpn_server.php index 26d6d14..26fbe2a 100644 --- a/src/usr/local/www/vpn_openvpn_server.php +++ b/src/usr/local/www/vpn_openvpn_server.php @@ -409,7 +409,7 @@ if ($_POST) { } } - if ($pconfig['maxclients'] && !is_numeric($pconfig['maxclients'])) { + if ($pconfig['maxclients'] && !is_numericint($pconfig['maxclients'])) { $input_errors[] = gettext("The field 'Concurrent connections' must be numeric."); } |