summaryrefslogtreecommitdiff
path: root/epan/dissectors/packet-wtp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-wtp.c')
-rw-r--r--epan/dissectors/packet-wtp.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/epan/dissectors/packet-wtp.c b/epan/dissectors/packet-wtp.c
index 477d1d3c9e..e92fe222bd 100644
--- a/epan/dissectors/packet-wtp.c
+++ b/epan/dissectors/packet-wtp.c
@@ -191,6 +191,7 @@ static int hf_wtp_fragment_overlap_conflict = HF_EMPTY;
static int hf_wtp_fragment_multiple_tails = HF_EMPTY;
static int hf_wtp_fragment_too_long_fragment = HF_EMPTY;
static int hf_wtp_fragment_error = HF_EMPTY;
+static int hf_wtp_fragment_count = HF_EMPTY;
static int hf_wtp_reassembled_in = HF_EMPTY;
static int hf_wtp_reassembled_length = HF_EMPTY;
@@ -212,6 +213,7 @@ static const fragment_items wtp_frag_items = {
&hf_wtp_fragment_multiple_tails,
&hf_wtp_fragment_too_long_fragment,
&hf_wtp_fragment_error,
+ &hf_wtp_fragment_count,
&hf_wtp_reassembled_in,
&hf_wtp_reassembled_length,
"fragments"
@@ -1030,6 +1032,13 @@ proto_register_wtp(void)
"Defragmentation error due to illegal fragments", HFILL
}
},
+ { &hf_wtp_fragment_count,
+ { "Fragment count",
+ "wtp.fragment.count",
+ FT_UINT32, BASE_DEC, NULL, 0x0,
+ NULL, HFILL
+ }
+ },
{ &hf_wtp_reassembled_in,
{ "Reassembled in",
"wtp.reassembled.in",