summaryrefslogtreecommitdiff
path: root/accel-pppd/shaper/shaper.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/shaper/shaper.c')
-rw-r--r--accel-pppd/shaper/shaper.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c
index 2b749c9b..d5a376b7 100644
--- a/accel-pppd/shaper/shaper.c
+++ b/accel-pppd/shaper/shaper.c
@@ -908,9 +908,9 @@ static void load_config(void)
opt = conf_get_opt("shaper", "verbose");
- if (opt && atoi(opt) > 0)
- conf_verbose = 1;
-
+ if (opt && atoi(opt) >= 0)
+ conf_verbose = atoi(opt) > 0;
+
triton_context_call(&shaper_ctx, (triton_event_func)load_time_ranges, NULL);
}