aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_a_rr.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2008-11-04 20:20:33 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2008-11-04 20:20:33 +0000
commit54471ccd233b9b2485a55cbec1cab13cfe967fa9 (patch)
tree2a01181a6a54e117d395d6de025c333ee677b66f /epan/dissectors/packet-gsm_a_rr.c
parentd60fd20cb2129f51ab32b032e17c22265dc61b78 (diff)
Mark the reduced frame number field as generated.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26690 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-gsm_a_rr.c')
-rw-r--r--epan/dissectors/packet-gsm_a_rr.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gsm_a_rr.c b/epan/dissectors/packet-gsm_a_rr.c
index 2800d115c0..1cd3ca2e12 100644
--- a/epan/dissectors/packet-gsm_a_rr.c
+++ b/epan/dissectors/packet-gsm_a_rr.c
@@ -3265,7 +3265,8 @@ de_rr_req_ref(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_, gc
curr_offset++;
proto_tree_add_item(subtree, hf_gsm_a_rr_T2, tvb, curr_offset, 1, FALSE);
curr_offset++;
- proto_tree_add_uint(subtree, hf_gsm_a_rr_rfn, tvb, curr_offset-2, 2, rfn);
+ item = proto_tree_add_uint(subtree, hf_gsm_a_rr_rfn, tvb, curr_offset-2, 2, rfn);
+ PROTO_ITEM_SET_GENERATED(item);
return(curr_offset - offset);
}
@@ -5492,6 +5493,7 @@ de_rr_si13_rest_oct(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len,
static guint8
de_rr_starting_time(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_, gchar *add_string _U_, int string_len _U_)
{
+ proto_item *item;
guint32 curr_offset;
guint16 rfn, fn;
@@ -5504,7 +5506,8 @@ de_rr_starting_time(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _
curr_offset++;
proto_tree_add_item(tree, hf_gsm_a_rr_T2, tvb, curr_offset, 1, FALSE);
curr_offset++;
- proto_tree_add_uint(tree, hf_gsm_a_rr_rfn, tvb, curr_offset-2, 2, rfn);
+ item = proto_tree_add_uint(tree, hf_gsm_a_rr_rfn, tvb, curr_offset-2, 2, rfn);
+ PROTO_ITEM_SET_GENERATED(item);
return(curr_offset - offset);
}
/*