GSM-A-GM: Remove redundant code, gtpv2 add a comment

Change-Id: I4cad8e1ccdf83b0ed953462ab496c303f97c3caa
Reviewed-on: https://code.wireshark.org/review/32103
Petri-Dish: Anders Broman <a.broman58@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Anders Broman 2019-02-19 13:12:30 +01:00 committed by Anders Broman
parent 18bfaea5ce
commit 5aa5f1c231
2 changed files with 1 additions and 1 deletions

View File

@ -4231,7 +4231,6 @@ de_gc_timer3(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo _U_, guint32 of
case 7:
item = proto_tree_add_uint_format_value(tree, hf_gsm_a_gm_gprs_timer3, tvb, curr_offset, 1, val, "timer is deactivated");
break;
default: str = "hr";
}
if (item == NULL) {

View File

@ -5915,6 +5915,7 @@ dissect_gtpv2_epc_timer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree,
proto_item_append_text(item, "DL Buffering Duration");
break;
}
/* XXX Todo: use code from packaet-gsm_a_gm.c ? 10.5.7.4a GPRS TIMER 3*/
proto_tree_add_item(tree, hf_gtpv2_timer_unit, tvb, 0, 1, ENC_BIG_ENDIAN);
proto_tree_add_item(tree, hf_gtpv2_timer_value, tvb, 0, 1, ENC_BIG_ENDIAN);