mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Remove "auto", it's just a synonym for IKEv2. Ticket #4873
Conflicts: usr/local/www/vpn_ipsec_phase1.php
This commit is contained in:
parent
0dea741f39
commit
4d7568404c
@ -762,9 +762,7 @@ EOD;
|
||||
if ($ph1ent['iketype'] == "ikev2") {
|
||||
$keyexchange = "ikev2";
|
||||
//$passive = "start";
|
||||
} else if ($ph1ent['iketype'] == "auto") {
|
||||
$keyexchange = "ike";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($ph1ent['mobile'])) {
|
||||
|
||||
@ -377,8 +377,8 @@ if ($_POST) {
|
||||
}
|
||||
}
|
||||
|
||||
if (!empty($pconfig['iketype']) && $pconfig['iketype'] != "ikev1" && $pconfig['iketype'] != "ikev2" && $pconfig['iketype'] != "auto") {
|
||||
$input_errors[] = gettext("Valid arguments for IKE type is v1 or v2 or auto");
|
||||
if (!empty($pconfig['iketype']) && $pconfig['iketype'] != "ikev1" && $pconfig['iketype'] != "ikev2") {
|
||||
$input_errors[] = gettext("Valid arguments for IKE type is v1 or v2");
|
||||
}
|
||||
|
||||
if (!empty($_POST['ealgo']) && isset($config['system']['crypto_hardware'])) {
|
||||
@ -685,7 +685,7 @@ function dpdchkbox_change() {
|
||||
<td width="78%" class="vtable">
|
||||
<select name="iketype" class="formselect" onchange='iketype_change()'>
|
||||
<?php
|
||||
$keyexchange = array("ikev1" => "V1", "ikev2" => "V2", "auto" => "Auto");
|
||||
$keyexchange = array("ikev1" => "V1", "ikev2" => "V2");
|
||||
foreach ($keyexchange as $kidx => $name):
|
||||
?>
|
||||
<option value="<?=$kidx;?>" <?php if ($kidx == $pconfig['iketype']) echo "selected=\"selected\""; ?>>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user