summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/config.inc8
1 files changed, 6 insertions, 2 deletions
diff --git a/etc/inc/config.inc b/etc/inc/config.inc
index 29db02c..6fbc1d9 100644
--- a/etc/inc/config.inc
+++ b/etc/inc/config.inc
@@ -1046,8 +1046,12 @@ function convert_config() {
$config['version'] = "3.0";
}
- /* Convert 3.0 -> 3.1 */
- if ($config['version'] <= 3.1 and !$config['sysctl']['item']) {
+ }
+
+ /* Convert 3.0 -> 3.1 */
+ if ($config['version'] <= 3.0) {
+ if(!$config['sysctl']) {
+
$config['sysctl']['item'] = array();
$config['sysctl']['item'][0]['tunable'] = "net.inet.tcp.blackhole";
OpenPOWER on IntegriCloud