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
126 126
                               $ph1idx = substr($con_id, 0, strrpos(substr($con_id, 0, -1), '00'));
127 127
                               $ipsecconnected[$ph1idx] = $ph1idx;
128 128
                       } else {
129
                               if (!ipsec_ikeid_used($con_id)) {
130
                                       $ph1idx = substr($con_id, 0, strrpos(substr($con_id, 0, -1), '00'));
131
                                       $ipsecconnected[$ph1idx] = $ph1idx;
132
                               } else {
129 133
                               $ipsecconnected[$con_id] = $ph1idx = $con_id;
130 134
                       }
135
                       }
131 136

  
132 137
                       print("<tr>\n");
133 138
                       print("<td>\n");
(2-2/2)