diff options
author | Scott Ullrich <sullrich@pfSense.org> | 2010-01-20 17:33:36 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfSense.org> | 2010-01-20 17:33:36 -0500 |
commit | cac19f50aca6ae61766592c3198d2f8287a420ac (patch) | |
tree | 0ee6b947aac1439d7231e8b8ccc7229b655a2082 /etc | |
parent | b2d0140c277a850f0713261351e0e3467f938217 (diff) | |
download | pfsense-cac19f50aca6ae61766592c3198d2f8287a420ac.zip pfsense-cac19f50aca6ae61766592c3198d2f8287a420ac.tar.gz |
Include item
Diffstat (limited to 'etc')
-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 . "\""); |