diff options
author | ayvis <ayvis.infra@gmail.com> | 2014-03-21 21:38:40 +0100 |
---|---|---|
committer | ayvis <ayvis.infra@gmail.com> | 2014-03-21 21:38:40 +0100 |
commit | de22e9ca9864d802ad1ec1376247b788efb6938a (patch) | |
tree | 58babbcd716c6506276ef34f48e076a81a31c872 | |
parent | 691a0346aaa9e85c767261a1fbfbb7fbfc196929 (diff) | |
download | pfsense-de22e9ca9864d802ad1ec1376247b788efb6938a.zip pfsense-de22e9ca9864d802ad1ec1376247b788efb6938a.tar.gz |
syntax error
-rw-r--r-- | usr/local/www/system_advanced_misc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index c73479d..14db29f 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -60,9 +60,11 @@ $pconfig['lb_use_sticky'] = isset($config['system']['lb_use_sticky']); $pconfig['srctrack'] = $config['system']['srctrack']; $pconfig['gw_switch_default'] = isset($config['system']['gw_switch_default']); $pconfig['preferoldsa_enable'] = isset($config['ipsec']['preferoldsa']); -foreach ($ipsec_loglevel as $lkey => $ldescr) { +if (isset($ipsec_loglevel)) { + foreach ($ipsec_loglevel as $lkey => $ldescr) { if (!empty($config['ipsec']["ipsec_{$lkey}"])) $pconfig["ipsec_{$lkey}"] = $config['ipsec']["ipsec_{$lkey}"]; + } } $pconfig['failoverforcereload'] = isset($config['ipsec']['failoverforcereload']); $pconfig['maxmss_enable'] = isset($config['system']['maxmss_enable']); |