Fix a label, and make sure all counters are initialised to 0.

svn path=/trunk/; revision=38143
This commit is contained in:
Martin Mathieson 2011-07-21 15:55:58 +00:00
parent 91df20357a
commit c8cf6094ab
1 changed files with 3 additions and 1 deletions

View File

@ -60,7 +60,7 @@ enum {
static const gchar *ue_titles[] = { " UEId",
"UL Frames", "UL Bytes", " UL Mbs", "UL ACKs", "UL NACKs", "UL Missed",
"DL Frames", "DL Bytes", " DL Mbs", "UL ACKs", "DL NACKs", "DL Missed"};
"DL Frames", "DL Bytes", " DL Mbs", "DL ACKs", "DL NACKs", "DL Missed"};
/* Stats for one UE */
typedef struct rlc_lte_row_data {
@ -156,6 +156,8 @@ static rlc_lte_ep_t* alloc_rlc_lte_ep(struct rlc_lte_tap_info *si, packet_info *
ep->stats.DL_total_bytes = 0;
memset(&ep->stats.DL_time_start, 0, sizeof(nstime_t));
memset(&ep->stats.DL_time_stop, 0, sizeof(nstime_t));
ep->stats.UL_total_acks = 0;
ep->stats.DL_total_acks = 0;
ep->stats.UL_total_nacks = 0;
ep->stats.DL_total_nacks = 0;
ep->stats.UL_total_missing = 0;