diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-11-17 13:53:33 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-11-17 13:55:46 -0600 |
commit | ed6e93ea38c15db507344b01444a95382591931d (patch) | |
tree | cc0d68928fbc0acd38858f9ac69d8b0099c635ac /etc | |
parent | 224b4208e7e39d9ccbea5cf65b6e6992c69059f8 (diff) | |
download | pfsense-ed6e93ea38c15db507344b01444a95382591931d.zip pfsense-ed6e93ea38c15db507344b01444a95382591931d.tar.gz |
correctly specify arrays here. Fixes last of issue with Ticket #3955, and
probably a variety of other bugs.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/ipsec.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/ipsec.inc b/etc/inc/ipsec.inc index 601f17d..64ff427 100644 --- a/etc/inc/ipsec.inc +++ b/etc/inc/ipsec.inc @@ -344,7 +344,7 @@ function ipsec_lookup_phase1(& $ph2ent,& $ph1ent) { /* * Check phase1 communications status */ -function ipsec_phase1_status($ipsec_status, $ikeid) { +function ipsec_phase1_status(&$ipsec_status, $ikeid) { foreach ($ipsec_status as $ike) { if ($ike['id'] != $ikeid) @@ -360,7 +360,7 @@ function ipsec_phase1_status($ipsec_status, $ikeid) { /* * Check phase2 communications status */ -function ipsec_phase2_status($ipsec_status, &$phase2) { +function ipsec_phase2_status(&$ipsec_status, &$phase2) { if (ipsec_lookup_phase1($ph2ent,$ph1ent)) return ipsec_phase1_status($ipsec_status, $ph1ent['ikeid']); |