Fix week_start_ts into day_start_ts
[platform/core/connectivity/stc-manager.git] / src / monitor / stc-monitor.c
index 3abebef..2a42682 100644 (file)
@@ -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;