diff options
author | Ermal <eri@pfsense.org> | 2014-02-26 16:24:19 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2014-02-26 16:24:19 +0000 |
commit | df0878b018976493e312eac39915125b1c543db6 (patch) | |
tree | 1194fa9495a03ea3fd688bf456061bfc53bcecb5 /usr/local | |
parent | ddfe5e4380b059a553b790dfb3de81d039ebd481 (diff) | |
download | pfsense-df0878b018976493e312eac39915125b1c543db6.zip pfsense-df0878b018976493e312eac39915125b1c543db6.tar.gz |
Add a function to read the status of connections/SAs/SPDs from smp plugin of StrongSWAN. No need to go through the setkey dumps
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/diag_ipsec.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr/local/www/diag_ipsec.php b/usr/local/www/diag_ipsec.php index 68f7dc8..f780587 100644 --- a/usr/local/www/diag_ipsec.php +++ b/usr/local/www/diag_ipsec.php @@ -74,9 +74,7 @@ if (!is_array($config['ipsec']['phase2'])) $a_phase2 = &$config['ipsec']['phase2']; -$spd = ipsec_dump_spd(); -$sad = ipsec_dump_sad(); -$mobile = ipsec_dump_mobile(); +$status = ipsec_smp_dump_status(); ?> |