diff options
Diffstat (limited to 'etc/inc')
-rw-r--r-- | etc/inc/system.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index a8e8a09..5891829 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -57,7 +57,7 @@ function activate_sysctls() { exec("/sbin/sysctl net.enc.in.ipsec_filter_mask=0x00000002"); if (is_array($config['sysctl'])) { - foreach($config['sysctl'] as $tunable) { + foreach($config['sysctl']['item'] as $tunable) { if($tunable['value'] == "default") { $value = get_default_sysctl_value($tunable['tunable']); mwexec("/sbin/sysctl " . $tunable['tunable'] . "=\"" . $value . "\""); |