diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2010-01-21 21:46:46 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2010-01-21 21:46:46 +0000 |
commit | 093885ecf97cf6c321720764db1a8e596458145a (patch) | |
tree | 4f66c12051e7040e4b0c84384e984355e79b8893 /epan/dissectors/packet-dhcpv6.c | |
parent | 490be8cf45509bd6345865961df3b46180e9e968 (diff) |
From Alexandre Forget:
Fix the ORO suboption offset error.
svn path=/trunk/; revision=31609
Diffstat (limited to 'epan/dissectors/packet-dhcpv6.c')
-rw-r--r-- | epan/dissectors/packet-dhcpv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c index 7b89f16428..5de533939c 100644 --- a/epan/dissectors/packet-dhcpv6.c +++ b/epan/dissectors/packet-dhcpv6.c @@ -1368,7 +1368,7 @@ dissect_cablelabs_specific_opts(proto_tree *v_tree, tvbuff_t *tvb, int voff, int break; case CL_OPTION_ORO : field_len = 2; - opt_len = tlv_len * field_len; + opt_len = tlv_len; if (opt_len > 0) { for (i = 0; i < tlv_len; i += field_len) { sub_value = tvb_get_ntohs(tvb, sub_off); |