summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-09-11 19:28:43 +0200
committerErmal <eri@pfsense.org>2014-09-11 19:28:43 +0200
commit7a668bd8ee520220937fce081d5ccc30665df996 (patch)
treec2b221a15d3f601679b2928de01baebf11187cb7
parent6da9a1608da5fda38d4927951311622a5a1472c7 (diff)
downloadpfsense-7a668bd8ee520220937fce081d5ccc30665df996.zip
pfsense-7a668bd8ee520220937fce081d5ccc30665df996.tar.gz
Fix path to xml and make sure the parser will see the custom tags
-rw-r--r--etc/inc/ipsec.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc
index e03259b..fe5cbd6 100644
--- a/etc/inc/ipsec.inc
+++ b/etc/inc/ipsec.inc
@@ -601,11 +601,11 @@ function ipsec_dump_sad()
* Return dump of mobile user list
*/
function ipsec_dump_mobile() {
- global $g;
+ global $g, $custom_listtags;
$_gb = exec("/usr/local/sbin/ipsec stroke leases > {$g['tmp_path']}/strongswan_leases.xml");
- if (!file_exists("{$g['varrun_path']}/strongswan_leases.xml")) {
+ if (!file_exists("{$g['tmp_path']}/strongswan_leases.xml")) {
log_error(gettext("IPSec daemon seems to have issues or not running! Could not display mobile user stats!"));
return array();
}
OpenPOWER on IntegriCloud