summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2005-08-21 05:56:41 +0000
committerBill Marquette <billm@pfsense.org>2005-08-21 05:56:41 +0000
commit0e8f4e7b2987a88865c8468f6f9d455c401d9f13 (patch)
tree876f126d47b875c64f158670108bf3d50f732c3b /etc
parent02ed6c8f4f98aa615771a3a4596cccf923b8fbd4 (diff)
downloadpfsense-0e8f4e7b2987a88865c8468f6f9d455c401d9f13.zip
pfsense-0e8f4e7b2987a88865c8468f6f9d455c401d9f13.tar.gz
youch, index, then array!
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index cfb02e4..cdfdcad 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -670,7 +670,7 @@ function convert_config() {
if ($config['version'] == "1.9") {
if(is_array($config['ipsec']['tunnel'])) {
reset($config['ipsec']['tunnel']);
- while (list($tunnel) = each($config['ipsec']['tunnel'])) {
+ while (list($index, $tunnel) = each($config['ipsec']['tunnel'])) {
/* Sanity check on required variables */
/* This fixes bogus <tunnel> entries - remnant of bug #393 */
if (!isset($tunnel['local-subnet']) && !isset($tunnel['remote-subnet'])) {
OpenPOWER on IntegriCloud