diff options
Diffstat (limited to 'epan/dissectors/packet-6lowpan.c')
-rw-r--r-- | epan/dissectors/packet-6lowpan.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/epan/dissectors/packet-6lowpan.c b/epan/dissectors/packet-6lowpan.c index 8aa91b8445..e13c599c02 100644 --- a/epan/dissectors/packet-6lowpan.c +++ b/epan/dissectors/packet-6lowpan.c @@ -337,6 +337,7 @@ static int hf_6lowpan_fragment_multiple_tails = -1; static int hf_6lowpan_fragment_too_long_fragment = -1; static int hf_6lowpan_fragment_error = -1; static int hf_6lowpan_reassembled_in = -1; +static int hf_6lowpan_reassembled_length = -1; static gint ett_6lowpan_fragment = -1; static gint ett_6lowpan_fragments = -1; @@ -354,6 +355,8 @@ static const fragment_items lowpan_frag_items = { &hf_6lowpan_fragment_error, /* Reassembled in field */ &hf_6lowpan_reassembled_in, + /* Reassembled length field */ + &hf_6lowpan_reassembled_length, /* Tag */ "6LoWPAN fragments" }; @@ -2163,7 +2166,9 @@ proto_register_6lowpan(void) { &hf_6lowpan_fragment_error, { "Message defragmentation error", "6lowpan.fragment.error", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL }}, { &hf_6lowpan_reassembled_in, - { "Reassembled in", "6lowpan.reassembled.in",FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL }} + { "Reassembled in", "6lowpan.reassembled.in",FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL }}, + { &hf_6lowpan_reassembled_length, + { "Reassembled length", "6lowpan.reassembled.length",FT_UINT32, BASE_DEC, NULL, 0x00, NULL, HFILL }} }; static gint *ett[] = { |