diff options
author | Renato Botelho <renato@netgate.com> | 2017-02-10 15:39:12 -0200 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-02-10 15:39:12 -0200 |
commit | dde7eda228b29bde2053c3390ef9efc6d790b80a (patch) | |
tree | 4c5b499dbbe79c1566f09d55a26547d5dc05713d /src/usr/local/www | |
parent | 7603794b910e6f4bd8b76c71d89e818b7b1ac044 (diff) | |
parent | 109a304e154a179bd340b06880ce95baec4dab03 (diff) | |
download | pfsense-dde7eda228b29bde2053c3390ef9efc6d790b80a.zip pfsense-dde7eda228b29bde2053c3390ef9efc6d790b80a.tar.gz |
Merge pull request #3522 from graham-collinson/master
Diffstat (limited to 'src/usr/local/www')
-rw-r--r-- | src/usr/local/www/status_ipsec.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/usr/local/www/status_ipsec.php b/src/usr/local/www/status_ipsec.php index 5d56213..0932c5f 100644 --- a/src/usr/local/www/status_ipsec.php +++ b/src/usr/local/www/status_ipsec.php @@ -94,7 +94,13 @@ function print_ipsec_body() { $ph1idx = substr($con_id, 0, strrpos(substr($con_id, 0, -1), '00')); $ipsecconnected[$ph1idx] = $ph1idx; } else { - $ipsecconnected[$con_id] = $ph1idx = $con_id; + if (!ipsec_ikeid_used($con_id)) { + // probably a v2 with split connection then + $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"); |