Project

General

Profile

Bug #6966 » status_ipsec.patch

Graham Collinson, 02/10/2017 06:44 AM

View differences:

status_ipsec.new.php 2017-02-10 12:42:19.387493000 +0000
$ph1idx = substr($con_id, 0, strrpos(substr($con_id, 0, -1), '00'));
$ipsecconnected[$ph1idx] = $ph1idx;
} else {
if (!ipsec_ikeid_used($con_id)) {
$ph1idx = substr($con_id, 0, strrpos(substr($con_id, 0, -1), '00'));
$ipsecconnected[$ph1idx] = $ph1idx;
} else {
$ipsecconnected[$con_id] = $ph1idx = $con_id;
}
}
print("<tr>\n");
print("<td>\n");
(2-2/2)