Trivial formatting changes
svn path=/trunk/; revision=29484
This commit is contained in:
parent
0819c36d3a
commit
70284d6cc4
|
@ -25,8 +25,8 @@
|
||||||
|
|
||||||
|
|
||||||
/* TODO:
|
/* TODO:
|
||||||
- limit by display filter
|
- limit by display filter?
|
||||||
- Help button and documentation
|
- Break down traffic by cell?
|
||||||
- CSV export?
|
- CSV export?
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@ -274,7 +274,7 @@ mac_lte_stat_packet(void *phs, packet_info *pinfo, epan_dissect_t *edt _U_,
|
||||||
struct mac_lte_tap_info *si = (struct mac_lte_tap_info *)phi;
|
struct mac_lte_tap_info *si = (struct mac_lte_tap_info *)phi;
|
||||||
|
|
||||||
if (!hs) {
|
if (!hs) {
|
||||||
return (0);
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
common_stats.all_frames++;
|
common_stats.all_frames++;
|
||||||
|
@ -407,15 +407,15 @@ mac_lte_ue_details(mac_lte_ep_t *mac_stat_ep)
|
||||||
|
|
||||||
/* UL SDUs */
|
/* UL SDUs */
|
||||||
for (n=0; n < PREDEFINED_COLUMN-1; n++) {
|
for (n=0; n < PREDEFINED_COLUMN-1; n++) {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", mac_stat_ep ? mac_stat_ep->stats.UL_sdus_for_lcid[n] : 0);
|
g_snprintf(buff, sizeof(buff), "%u",
|
||||||
|
mac_stat_ep ? mac_stat_ep->stats.UL_sdus_for_lcid[n] : 0);
|
||||||
gtk_label_set_text(GTK_LABEL(selected_ue_column_entry[n+1][1]), buff);
|
gtk_label_set_text(GTK_LABEL(selected_ue_column_entry[n+1][1]), buff);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Predefined */
|
/* Predefined */
|
||||||
if (mac_stat_ep) {
|
if (mac_stat_ep) {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", mac_stat_ep->stats.is_predefined_data ?
|
g_snprintf(buff, sizeof(buff), "%u",
|
||||||
mac_stat_ep->stats.UL_frames :
|
mac_stat_ep->stats.is_predefined_data ? mac_stat_ep->stats.UL_frames : 0);
|
||||||
0);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", 0);
|
g_snprintf(buff, sizeof(buff), "%u", 0);
|
||||||
|
@ -432,9 +432,8 @@ mac_lte_ue_details(mac_lte_ep_t *mac_stat_ep)
|
||||||
|
|
||||||
/* Predefined */
|
/* Predefined */
|
||||||
if (mac_stat_ep) {
|
if (mac_stat_ep) {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", mac_stat_ep->stats.is_predefined_data ?
|
g_snprintf(buff, sizeof(buff), "%u",
|
||||||
mac_stat_ep->stats.UL_total_bytes :
|
mac_stat_ep->stats.is_predefined_data ? mac_stat_ep->stats.UL_total_bytes : 0);
|
||||||
0);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", 0);
|
g_snprintf(buff, sizeof(buff), "%u", 0);
|
||||||
|
@ -450,9 +449,8 @@ mac_lte_ue_details(mac_lte_ep_t *mac_stat_ep)
|
||||||
}
|
}
|
||||||
/* Predefined */
|
/* Predefined */
|
||||||
if (mac_stat_ep) {
|
if (mac_stat_ep) {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", mac_stat_ep->stats.is_predefined_data ?
|
g_snprintf(buff, sizeof(buff), "%u",
|
||||||
mac_stat_ep->stats.DL_frames :
|
mac_stat_ep->stats.is_predefined_data ? mac_stat_ep->stats.DL_frames : 0);
|
||||||
0);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", 0);
|
g_snprintf(buff, sizeof(buff), "%u", 0);
|
||||||
|
@ -468,9 +466,8 @@ mac_lte_ue_details(mac_lte_ep_t *mac_stat_ep)
|
||||||
}
|
}
|
||||||
/* Predefined */
|
/* Predefined */
|
||||||
if (mac_stat_ep) {
|
if (mac_stat_ep) {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", mac_stat_ep->stats.is_predefined_data ?
|
g_snprintf(buff, sizeof(buff), "%u",
|
||||||
mac_stat_ep->stats.DL_total_bytes :
|
mac_stat_ep->stats.is_predefined_data ? mac_stat_ep->stats.DL_total_bytes : 0);
|
||||||
0);
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
g_snprintf(buff, sizeof(buff), "%u", 0);
|
g_snprintf(buff, sizeof(buff), "%u", 0);
|
||||||
|
|
Loading…
Reference in New Issue