summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/filter.inc4
1 files changed, 1 insertions, 3 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index af1494b..c0cd4a1 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -309,9 +309,7 @@ function filter_configure_sync($delete_states_if_needed = true) {
if (!empty($config['system']['adaptivestart']) && !empty($config['system']['adaptiveend'])) {
$limitrules .= "set timeout { adaptive.start {$config['system']['adaptivestart']}, adaptive.end {$config['system']['adaptiveend']} }\n";
- } else {
- $limitrules .= "set timeout { adaptive.start 0, adaptive.end 0 }\n";
- }
+ }
if ($config['system']['maximumstates'] <> "" && is_numeric($config['system']['maximumstates'])) {
/* User defined maximum states in Advanced menu. */
OpenPOWER on IntegriCloud