diff options
Diffstat (limited to 'src/usr')
-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; } |