summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/shaper/shaper.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/shaper/shaper.c b/accel-pppd/shaper/shaper.c
index 229ab41..369a375 100644
--- a/accel-pppd/shaper/shaper.c
+++ b/accel-pppd/shaper/shaper.c
@@ -765,7 +765,9 @@ static void load_time_ranges(void)
break;
}
}
+ }
+ list_for_each_entry(r, &time_range_list, entry) {
if (r->begin.expire_tv.tv_sec > r->end.expire_tv.tv_sec) {
if (ts >= r->begin.expire_tv.tv_sec || ts <= r->end.expire_tv.tv_sec)
time_range_begin_timer(&r->begin);