diff options
author | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2011-07-21 15:55:58 +0000 |
---|---|---|
committer | Martin Mathieson <martin.r.mathieson@googlemail.com> | 2011-07-21 15:55:58 +0000 |
commit | c8cf6094ab5655d45e89225450c4532e317a8bc2 (patch) | |
tree | 3a2759e27e7f6cb00a78e5920444aed9dfa31892 /tap-rlcltestat.c | |
parent | 91df20357ac364f58d5727e765f8348401491fd8 (diff) |
Fix a label, and make sure all counters are initialised to 0.
svn path=/trunk/; revision=38143
Diffstat (limited to 'tap-rlcltestat.c')
-rw-r--r-- | tap-rlcltestat.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tap-rlcltestat.c b/tap-rlcltestat.c index a64c2d9024..434f64713a 100644 --- a/tap-rlcltestat.c +++ b/tap-rlcltestat.c @@ -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; |