forked from osmocom/wireshark
gsm_map: remove a variable that is always 0
There's just one table at index 0.
This commit is contained in:
parent
af6507c71f
commit
dedfbc9d20
|
@ -2762,9 +2762,8 @@ gsm_map_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _
|
|||
stat_tap_table* table;
|
||||
stat_tap_table_item_type *invoke_data, *fwd_bytes_data, *result_data, *rev_bytes_data, *avg_data;
|
||||
guint invokes, fwd_bytes, results, rev_bytes;
|
||||
guint i = 0;
|
||||
|
||||
table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, i);
|
||||
table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, 0);
|
||||
|
||||
invoke_data = stat_tap_get_field_data(table, gmtr->opcode, INVOKES_COLUMN);
|
||||
fwd_bytes_data = stat_tap_get_field_data(table, gmtr->opcode, NUM_BYTES_FWD_COLUMN);
|
||||
|
|
|
@ -24115,9 +24115,8 @@ gsm_map_stat_packet(void *tapdata, packet_info *pinfo _U_, epan_dissect_t *edt _
|
|||
stat_tap_table* table;
|
||||
stat_tap_table_item_type *invoke_data, *fwd_bytes_data, *result_data, *rev_bytes_data, *avg_data;
|
||||
guint invokes, fwd_bytes, results, rev_bytes;
|
||||
guint i = 0;
|
||||
|
||||
table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, i);
|
||||
table = g_array_index(stat_data->stat_tap_data->tables, stat_tap_table*, 0);
|
||||
|
||||
invoke_data = stat_tap_get_field_data(table, gmtr->opcode, INVOKES_COLUMN);
|
||||
fwd_bytes_data = stat_tap_get_field_data(table, gmtr->opcode, NUM_BYTES_FWD_COLUMN);
|
||||
|
@ -32000,7 +31999,7 @@ void proto_register_gsm_map(void) {
|
|||
NULL, HFILL }},
|
||||
|
||||
/*--- End of included file: packet-gsm_map-hfarr.c ---*/
|
||||
#line 3321 "./asn1/gsm_map/packet-gsm_map-template.c"
|
||||
#line 3320 "./asn1/gsm_map/packet-gsm_map-template.c"
|
||||
};
|
||||
|
||||
/* List of subtrees */
|
||||
|
@ -32755,7 +32754,7 @@ void proto_register_gsm_map(void) {
|
|||
&ett_NokiaMAP_Extensions_AllowedServiceData,
|
||||
|
||||
/*--- End of included file: packet-gsm_map-ettarr.c ---*/
|
||||
#line 3360 "./asn1/gsm_map/packet-gsm_map-template.c"
|
||||
#line 3359 "./asn1/gsm_map/packet-gsm_map-template.c"
|
||||
};
|
||||
|
||||
static ei_register_info ei[] = {
|
||||
|
@ -32899,7 +32898,7 @@ void proto_register_gsm_map(void) {
|
|||
|
||||
|
||||
/*--- End of included file: packet-gsm_map-dis-tab.c ---*/
|
||||
#line 3420 "./asn1/gsm_map/packet-gsm_map-template.c"
|
||||
#line 3419 "./asn1/gsm_map/packet-gsm_map-template.c"
|
||||
oid_add_from_string("ericsson-gsm-Map-Ext","1.2.826.0.1249.58.1.0" );
|
||||
oid_add_from_string("accessTypeNotAllowed-id","1.3.12.2.1107.3.66.1.2");
|
||||
/*oid_add_from_string("map-ac networkLocUp(1) version3(3)","0.4.0.0.1.0.1.3" );
|
||||
|
|
Loading…
Reference in New Issue