diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-04-18 22:31:26 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-04-22 08:45:10 +0000 |
commit | 68eae53b0acf91db8791460c3aee49219143c312 (patch) | |
tree | ad9a7b6278370fdc7ab0e88ed4adcbae562b3d19 /epan/dissectors | |
parent | c0b7e19e1e2b9522dba16554239b13bac450af4e (diff) |
Add Length for Mobility Header Link-Layer Address Option (Type 7)
Change-Id: I8e5a254d25a63c18753a2d6a4da4bfc470191304
Reviewed-on: https://code.wireshark.org/review/1204
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-mip6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-mip6.c b/epan/dissectors/packet-mip6.c index 85bbe7067b..a618527eac 100644 --- a/epan/dissectors/packet-mip6.c +++ b/epan/dissectors/packet-mip6.c @@ -1967,6 +1967,8 @@ dissect_fmip6_opt_lla(const mip6_opt *optp _U_, tvbuff_t *tvb, int offset, tf = proto_tree_add_text(opt_tree, tvb, offset, optlen, "%s", optp->name); field_tree = proto_item_add_subtree(tf, *optp->subtree_index); + proto_tree_add_item(field_tree, hf_mip6_opt_len, tvb, offset+1, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(field_tree, hf_fmip6_lla_optcode, tvb, offset + FMIP6_LLA_OPTCODE_OFF, FMIP6_LLA_OPTCODE_LEN, ENC_BIG_ENDIAN); |