mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Change IPsec widget tunnel status to handle newer strongSwan childid format. Fixes #7499
(cherry picked from commit 4de753e52d)
This commit is contained in:
parent
640d1b6456
commit
5d336c75ce
@ -113,7 +113,8 @@ if ($_REQUEST && $_REQUEST['ajax']) {
|
||||
foreach ($ipsec_status as $id => $ikesa) {
|
||||
if (isset($ikesa['child-sas'])) {
|
||||
foreach ($ikesa['child-sas'] as $childid => $childsa) {
|
||||
if ($ikeid == $childid) {
|
||||
list($childcid, $childsid) = explode('-', $childid, 2);
|
||||
if ($ikeid == $childcid) {
|
||||
$found = true;
|
||||
break;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user