Révision 9694d32c
Ajouté par Ermal il y a plus de 9 ans
usr/local/www/vpn_ipsec.php | ||
---|---|---|
374 | 374 |
<td class="listr nowrap"> |
375 | 375 |
<?=$spans;?> |
376 | 376 |
<?php |
377 |
foreach ($ph2ent['hash-algorithm-option'] as $k => $ph2ha) { |
|
378 |
if ($k) |
|
379 |
echo ", "; |
|
380 |
echo $p2_halgos[$ph2ha]; |
|
377 |
if (!empty($ph2ent['hash-algorithm-option']) && is_array($ph2ent['hash-algorithm-option'])) { |
|
378 |
foreach ($ph2ent['hash-algorithm-option'] as $k => $ph2ha) { |
|
379 |
if ($k) |
|
380 |
echo ", "; |
|
381 |
echo $p2_halgos[$ph2ha]; |
|
382 |
} |
|
381 | 383 |
} |
382 | 384 |
?> |
383 | 385 |
<?=$spane;?> |
Formats disponibles : Unified diff
Do this check now that hash algos can be empty