From 9c9f59bedb5545a376b2ff86c34919095e62dd62 Mon Sep 17 00:00:00 2001 From: Taesoo Jun Date: Wed, 1 Aug 2018 18:54:47 +0900 Subject: [PATCH] Fix week_start_ts into day_start_ts Change-Id: I1906bf6fba572bec7d1a1f5c29206c4b0ee64114 Signed-off-by: Taesoo Jun --- src/monitor/stc-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/monitor/stc-monitor.c b/src/monitor/stc-monitor.c index 3abebef..2a42682 100644 --- a/src/monitor/stc-monitor.c +++ b/src/monitor/stc-monitor.c @@ -689,7 +689,7 @@ static void __process_restriction(enum traffic_restriction_type rstn_type, memset(&stat, 0, sizeof(cumulative_data_s)); stat.month_start_ts = rstn_value->month_start_ts; stat.week_start_ts = g_system->last_week_ts; - stat.week_start_ts = g_system->last_day_ts; + stat.day_start_ts = g_system->last_day_ts; memset(&rule, 0, sizeof(table_statistics_select_rule)); rule.from = rstn_value->month_start_ts; -- 2.7.4