simple fix for bug 10676

Bug: 10676
Change-Id: I442aa2ce44309655190752e715279d7325647336
Reviewed-on: https://code.wireshark.org/review/5199
Reviewed-by: Martin Kaiser <wireshark@kaiser.cx>
Tested-by: Martin Kaiser <wireshark@kaiser.cx>
This commit is contained in:
Martin Kaiser 2014-11-08 19:25:05 +01:00
parent 421913b721
commit ee1c74c348
1 changed files with 1 additions and 1 deletions

View File

@ -2822,7 +2822,7 @@ dissect_pmip6_opt_cr(const mip6_opt *optp _U_, tvbuff_t *tvb, int offset,
proto_tree_add_item(opt_tree, hf_mip6_cr_reserved, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += 2;
len = optlen - 3;
len = optlen - 4;
while (len > 0) {
req_type = tvb_get_guint8(tvb,offset);