aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-gsm_sms_ud.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-gsm_sms_ud.c')
-rw-r--r--epan/dissectors/packet-gsm_sms_ud.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/epan/dissectors/packet-gsm_sms_ud.c b/epan/dissectors/packet-gsm_sms_ud.c
index 01ba64f963..683aa7c986 100644
--- a/epan/dissectors/packet-gsm_sms_ud.c
+++ b/epan/dissectors/packet-gsm_sms_ud.c
@@ -84,6 +84,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;
/*
@@ -124,6 +125,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 */
@@ -565,6 +567,12 @@ proto_register_gsm_sms_ud(void)
HFILL
}
},
+ { &hf_gsm_sms_ud_fragment_count,
+ { "Short Message fragment count", "gsm-sms-ud.fragment.count",
+ FT_UINT32, BASE_DEC, NULL, 0x00,
+ NULL, HFILL
+ }
+ },
{ &hf_gsm_sms_ud_reassembled_in,
{ "Reassembled in",
"gsm-sms-ud.reassembled.in",