Révision 6f3f4683
Ajouté par Renato Botelho il y a plus de 9 ans
usr/local/www/vpn_ipsec.php | ||
---|---|---|
102 | 102 |
|
103 | 103 |
if ($_GET['act'] == "delph2") |
104 | 104 |
{ |
105 |
if ($a_phase1[$_GET['p1index']] && $a_phase2[$_GET['p2index']]) {
|
|
105 |
if ($a_phase1[$_GET['p1index']]) { |
|
106 | 106 |
/* remove the phase2 entry */ |
107 | 107 |
foreach ($a_phase2 as $ph2idx => $ph2) { |
108 | 108 |
if ($ph2['uniqid'] == $_GET['p2index']) { |
Formats disponibles : Unified diff
Fix phase2 removal, p2index points to unique ide and not to array index