summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-10-26 15:45:10 -0500
committerChris Buechler <cmb@pfsense.org>2015-10-26 15:45:10 -0500
commitf418fde4886627700da6613d2d57cb8bd0e4bf3d (patch)
treeb6b9f0da1fc4c96aff7ea4465da3acded090572a
parent52005a0642710faaafe9b0c28e164ba35d24adc2 (diff)
downloadpfsense-f418fde4886627700da6613d2d57cb8bd0e4bf3d.zip
pfsense-f418fde4886627700da6613d2d57cb8bd0e4bf3d.tar.gz
Correct available log levels. Ticket #5340
-rw-r--r--usr/local/www/vpn_ipsec_settings.php32
1 files changed, 16 insertions, 16 deletions
diff --git a/usr/local/www/vpn_ipsec_settings.php b/usr/local/www/vpn_ipsec_settings.php
index f1b1a50..e8b957c 100644
--- a/usr/local/www/vpn_ipsec_settings.php
+++ b/usr/local/www/vpn_ipsec_settings.php
@@ -61,52 +61,52 @@ if ($_POST) {
unset($input_errors);
$pconfig = $_POST;
- if (!in_array($pconfig['ipsec_dmn'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_dmn'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Daemon debug.";
}
- if (!in_array($pconfig['ipsec_mgr'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_mgr'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for SA Manager debug.";
}
- if (!in_array($pconfig['ipsec_ike'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_ike'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for IKE SA debug.";
}
- if (!in_array($pconfig['ipsec_chd'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_chd'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for IKE Child SA debug.";
}
- if (!in_array($pconfig['ipsec_job'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_job'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Job Processing debug.";
}
- if (!in_array($pconfig['ipsec_cfg'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_cfg'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Configuration backend debug.";
}
- if (!in_array($pconfig['ipsec_knl'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_knl'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Kernel Interface debug.";
}
- if (!in_array($pconfig['ipsec_net'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_net'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Networking debug.";
}
- if (!in_array($pconfig['ipsec_asn'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_asn'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for ASN Encoding debug.";
}
- if (!in_array($pconfig['ipsec_enc'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_enc'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Message encoding debug.";
}
- if (!in_array($pconfig['ipsec_imc'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_imc'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Integrity checker debug.";
}
- if (!in_array($pconfig['ipsec_imv'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_imv'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Integrity Verifier debug.";
}
- if (!in_array($pconfig['ipsec_pts'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_pts'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for Platform Trust Service debug.";
}
- if (!in_array($pconfig['ipsec_tls'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_tls'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for TLS Handler debug.";
}
- if (!in_array($pconfig['ipsec_esp'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_esp'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for IPsec Traffic debug.";
}
- if (!in_array($pconfig['ipsec_lib'], array('0', '1', '2', '3', '4', '5'), true)) {
+ if (!in_array($pconfig['ipsec_lib'], array('1', '2', '3', '4', '5', '6'), true)) {
$input_errors[] = "A valid value must be specified for StrongSwan Lib debug.";
}
if (isset($pconfig['maxmss'])) {
OpenPOWER on IntegriCloud