aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_sms.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-gsm_sms.c')
-rw-r--r--epan/dissectors/packet-gsm_sms.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gsm_sms.c b/epan/dissectors/packet-gsm_sms.c
index e8f70a6837..efaea32584 100644
--- a/epan/dissectors/packet-gsm_sms.c
+++ b/epan/dissectors/packet-gsm_sms.c
@@ -217,6 +217,7 @@ static int hf_gsm_sms_ud_fragment_overlap_conflicts = -1;
static int hf_gsm_sms_ud_fragment_multiple_tails = -1;
static int hf_gsm_sms_ud_fragment_too_long_fragment = -1;
static int hf_gsm_sms_ud_fragment_error = -1;
+static int hf_gsm_sms_ud_fragment_count = -1;
static int hf_gsm_sms_ud_reassembled_in = -1;
static int hf_gsm_sms_ud_reassembled_length = -1;
@@ -232,6 +233,7 @@ static const fragment_items sm_frag_items = {
&hf_gsm_sms_ud_fragment_multiple_tails,
&hf_gsm_sms_ud_fragment_too_long_fragment,
&hf_gsm_sms_ud_fragment_error,
+ &hf_gsm_sms_ud_fragment_count,
/* Reassembled in field */
&hf_gsm_sms_ud_reassembled_in,
/* Reassembled length field */
@@ -3501,6 +3503,13 @@ proto_register_gsm_sms(void)
HFILL
}
},
+ { &hf_gsm_sms_ud_fragment_count,
+ { "Short Message fragment count",
+ "gsm_sms.fragment.count",
+ FT_UINT32, BASE_DEC, NULL, 0x00,
+ NULL, HFILL
+ }
+ },
{ &hf_gsm_sms_ud_reassembled_in,
{ "Reassembled in",
"gsm_sms.reassembled.in",