summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-mtp3.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-12-28 16:18:12 -0800
committerGuy Harris <guy@alum.mit.edu>2015-12-29 00:20:09 +0000
commit0c156fec93e31a8d80653e0288925acf2275111e (patch)
treed0e12ca4d505160cbb3ab3f746c6f8e6b51d5d81 /epan/dissectors/packet-mtp3.c
parentaffa8011a2fc5e8128e7d5bf46df15e8e7b491db (diff)
downloadwireshark-0c156fec93e31a8d80653e0288925acf2275111e.tar.gz
There's no "old" stat_tap_table, so remove "new_" from the name.
Change-Id: I1a0349d5d9d47210a97ff7a99fb358e59fd70e72 Reviewed-on: https://code.wireshark.org/review/12896 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'epan/dissectors/packet-mtp3.c')
-rw-r--r--epan/dissectors/packet-mtp3.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/epan/dissectors/packet-mtp3.c b/epan/dissectors/packet-mtp3.c
index 965f26239c..f251b5657a 100644
--- a/epan/dissectors/packet-mtp3.c
+++ b/epan/dissectors/packet-mtp3.c
@@ -794,7 +794,7 @@ static stat_tap_table_item mtp3_stat_fields[] = {
static void mtp3_stat_init(new_stat_tap_ui* new_stat, new_stat_tap_gui_init_cb gui_callback, void* gui_data)
{
int num_fields = sizeof(mtp3_stat_fields)/sizeof(stat_tap_table_item);
- new_stat_tap_table* table;
+ stat_tap_table* table;
table = new_stat_tap_init_table("MTP3 Statistics", num_fields, 0, NULL, gui_callback, gui_data);
new_stat_tap_add_table(new_stat, table);
@@ -807,7 +807,7 @@ mtp3_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_,
const mtp3_tap_rec_t *m3tr = (const mtp3_tap_rec_t *)m3tr_ptr;
gboolean found = FALSE;
guint element;
- new_stat_tap_table* table;
+ stat_tap_table* table;
stat_tap_table_item_type* item_data;
guint msu_count;
guint byte_count;
@@ -825,7 +825,7 @@ mtp3_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_,
/*
* look for opc/dpc pair
*/
- table = g_array_index(stat_data->new_stat_tap_data->tables, new_stat_tap_table*, 0);
+ table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, 0);
for (element = 0; element < table->num_elements; element++)
{
stat_tap_table_item_type *opc_data, *dpc_data, *si_data;
@@ -912,7 +912,7 @@ mtp3_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _U_,
}
static void
-mtp3_stat_reset(new_stat_tap_table* table)
+mtp3_stat_reset(stat_tap_table* table)
{
guint element;
stat_tap_table_item_type* item_data;
@@ -930,7 +930,7 @@ mtp3_stat_reset(new_stat_tap_table* table)
}
static void
-mtp3_stat_free_table_item(new_stat_tap_table* table _U_, guint row _U_, guint column, stat_tap_table_item_type* field_data)
+mtp3_stat_free_table_item(stat_tap_table* table _U_, guint row _U_, guint column, stat_tap_table_item_type* field_data)
{
switch(column) {
case OPC_COLUMN: