diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 23:01:50 -0400 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-08-20 23:01:50 -0400 |
commit | e1fc88f1194299f6a37dbb581dbf62462c192ce8 (patch) | |
tree | 703a68d44611463d3869825e522479a6a6a256d4 /etc/inc | |
parent | f8037e90f95c8dd1f93c948921ca0cd211210574 (diff) | |
download | pfsense-e1fc88f1194299f6a37dbb581dbf62462c192ce8.zip pfsense-e1fc88f1194299f6a37dbb581dbf62462c192ce8.tar.gz |
oops fix if statement
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 406af04..df0a507 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -412,7 +412,7 @@ function filter_generate_aliases() { $aliases .= "{$aliased['name']} = \"<{$aliased['name']}>\"\n"; } else if ($aliased['type'] == "openvpn") { $openvpncfg = array(); - if(foreach ($config['openvpn']['user']) { + if($config['openvpn']['user']) { /* XXX: Check if we have a correct ip? */ foreach ($config['openvpn']['user'] as $openvpn) $openvpncfg[$openvpn['name']] = $openvpn['ip']; |