diff options
author | Dario Lombardo <lomato@gmail.com> | 2015-09-10 17:06:27 +0200 |
---|---|---|
committer | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2015-09-11 06:15:59 +0000 |
commit | 942eb739f4b3e5631015c1f3d4dba009caf83e27 (patch) | |
tree | 43c9724e2b1678e98b5280937f18b3afc1e36259 /ui | |
parent | b9001b0f90857a26bed97bda2833b0e77580d7ae (diff) |
lte/ui: fix 'time' var name.
As pointed out by checkAPI.pl.
Change-Id: Ibab9b2720f3ef666b06b2b61ffc54aa23cbb01fc
Reviewed-on: https://code.wireshark.org/review/10469
Reviewed-by: Michael Mann <mmann78@netscape.net>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/cli/tap-macltestat.c | 8 | ||||
-rw-r--r-- | ui/cli/tap-rlcltestat.c | 8 | ||||
-rw-r--r-- | ui/gtk/mac_lte_stat_dlg.c | 8 | ||||
-rw-r--r-- | ui/gtk/rlc_lte_stat_dlg.c | 16 |
4 files changed, 20 insertions, 20 deletions
diff --git a/ui/cli/tap-macltestat.c b/ui/cli/tap-macltestat.c index 96b495fcdb..c50dab9a87 100644 --- a/ui/cli/tap-macltestat.c +++ b/ui/cli/tap-macltestat.c @@ -337,9 +337,9 @@ mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_, /* Update time range */ if (te->stats.UL_frames == 0) { - te->stats.UL_time_start = si->time; + te->stats.UL_time_start = si->mac_lte_time; } - te->stats.UL_time_stop = si->time; + te->stats.UL_time_stop = si->mac_lte_time; te->stats.UL_frames++; @@ -387,9 +387,9 @@ mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_, /* Update time range */ if (te->stats.DL_frames == 0) { - te->stats.DL_time_start = si->time; + te->stats.DL_time_start = si->mac_lte_time; } - te->stats.DL_time_stop = si->time; + te->stats.DL_time_stop = si->mac_lte_time; te->stats.DL_frames++; diff --git a/ui/cli/tap-rlcltestat.c b/ui/cli/tap-rlcltestat.c index 9e635ff81b..546d2a246a 100644 --- a/ui/cli/tap-rlcltestat.c +++ b/ui/cli/tap-rlcltestat.c @@ -240,9 +240,9 @@ rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_, if (si->direction == DIRECTION_UPLINK) { /* Update time range */ if (te->stats.UL_frames == 0) { - te->stats.UL_time_start = si->time; + te->stats.UL_time_start = si->rlc_lte_time; } - te->stats.UL_time_stop = si->time; + te->stats.UL_time_stop = si->rlc_lte_time; te->stats.UL_frames++; te->stats.UL_total_bytes += si->pduLength; @@ -250,9 +250,9 @@ rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_, else { /* Update time range */ if (te->stats.DL_frames == 0) { - te->stats.DL_time_start = si->time; + te->stats.DL_time_start = si->rlc_lte_time; } - te->stats.DL_time_stop = si->time; + te->stats.DL_time_stop = si->rlc_lte_time; te->stats.DL_frames++; te->stats.DL_total_bytes += si->pduLength; diff --git a/ui/gtk/mac_lte_stat_dlg.c b/ui/gtk/mac_lte_stat_dlg.c index 076eab3212..3057e3e8c2 100644 --- a/ui/gtk/mac_lte_stat_dlg.c +++ b/ui/gtk/mac_lte_stat_dlg.c @@ -451,9 +451,9 @@ static int mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed /* Update time range */ if (te->stats.UL_frames == 0) { - te->stats.UL_time_start = si->time; + te->stats.UL_time_start = si->mac_lte_time; } - te->stats.UL_time_stop = si->time; + te->stats.UL_time_stop = si->mac_lte_time; te->stats.UL_frames++; @@ -503,9 +503,9 @@ static int mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed /* Update time range */ if (te->stats.DL_frames == 0) { - te->stats.DL_time_start = si->time; + te->stats.DL_time_start = si->mac_lte_time; } - te->stats.DL_time_stop = si->time; + te->stats.DL_time_stop = si->mac_lte_time; te->stats.DL_frames++; diff --git a/ui/gtk/rlc_lte_stat_dlg.c b/ui/gtk/rlc_lte_stat_dlg.c index 2254f8cb30..84627bbe65 100644 --- a/ui/gtk/rlc_lte_stat_dlg.c +++ b/ui/gtk/rlc_lte_stat_dlg.c @@ -458,9 +458,9 @@ static int rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed if (si->direction == DIRECTION_UPLINK) { /* Update time range */ if (te->stats.UL_frames == 0) { - te->stats.UL_time_start = si->time; + te->stats.UL_time_start = si->rlc_lte_time; } - te->stats.UL_time_stop = si->time; + te->stats.UL_time_stop = si->rlc_lte_time; te->stats.UL_frames++; te->stats.UL_total_bytes += si->pduLength; @@ -468,9 +468,9 @@ static int rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed else { /* Update time range */ if (te->stats.DL_frames == 0) { - te->stats.DL_time_start = si->time; + te->stats.DL_time_start = si->rlc_lte_time; } - te->stats.DL_time_stop = si->time; + te->stats.DL_time_stop = si->rlc_lte_time; te->stats.DL_frames++; te->stats.DL_total_bytes += si->pduLength; @@ -514,9 +514,9 @@ static int rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed if (si->direction == DIRECTION_UPLINK) { /* Update time range */ if (channel_stats->UL_frames == 0) { - channel_stats->UL_time_start = si->time; + channel_stats->UL_time_start = si->rlc_lte_time; } - channel_stats->UL_time_stop = si->time; + channel_stats->UL_time_stop = si->rlc_lte_time; channel_stats->UL_frames++; channel_stats->UL_bytes += si->pduLength; @@ -532,9 +532,9 @@ static int rlc_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *ed else { /* Update time range */ if (channel_stats->DL_frames == 0) { - channel_stats->DL_time_start = si->time; + channel_stats->DL_time_start = si->rlc_lte_time; } - channel_stats->DL_time_stop = si->time; + channel_stats->DL_time_stop = si->rlc_lte_time; channel_stats->DL_frames++; channel_stats->DL_bytes += si->pduLength; |