Fix a label, and make sure all counters are initialised to 0.
authormartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Jul 2011 15:55:58 +0000 (15:55 +0000)
committermartinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Jul 2011 15:55:58 +0000 (15:55 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38143 f5534014-38df-0310-8fa8-9805f1628bb7

tap-rlcltestat.c

index a64c2d9024b3ef4e96382fe6d0cdf80197cc9c34..434f64713a5b1726af74d8855df77b631593b9ec 100644 (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;