diff options
author | jim-p <jimp@pfsense.org> | 2017-06-15 09:56:33 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2017-06-15 09:56:33 -0400 |
commit | 4de753e52d8bbc732f23f90dd77df1707fbc3912 (patch) | |
tree | 86b3ee6ae96ca46b9b3653ccb74095aaf95ab77b /src/usr/local/www/widgets | |
parent | bf55e97770283824491a89caaae1856a08a9cd72 (diff) | |
download | pfsense-4de753e52d8bbc732f23f90dd77df1707fbc3912.zip pfsense-4de753e52d8bbc732f23f90dd77df1707fbc3912.tar.gz |
Change IPsec widget tunnel status to handle newer strongSwan childid format. Fixes #7499
Diffstat (limited to 'src/usr/local/www/widgets')
-rw-r--r-- | src/usr/local/www/widgets/widgets/ipsec.widget.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/usr/local/www/widgets/widgets/ipsec.widget.php b/src/usr/local/www/widgets/widgets/ipsec.widget.php index 1c66153..ff577b7 100644 --- a/src/usr/local/www/widgets/widgets/ipsec.widget.php +++ b/src/usr/local/www/widgets/widgets/ipsec.widget.php @@ -81,7 +81,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; } |