aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Bontje <cbontje@gmail.com>2017-08-24 08:41:44 -0600
committerAnders Broman <a.broman58@gmail.com>2017-08-24 16:46:35 +0000
commit2d1bb2b66195c9cae7599f2333755fd1bd0f9395 (patch)
tree507a3305010db2aac31fd14a65d329bb8bfd4568
parentcf6a3deae44c8ff8f5b6a21e590ab7956b24fd27 (diff)
[packet-selfm] - Fix dissection of multiple PDUs in single packet with no Fast Meter config data present.
Change-Id: I69cc2430e2f75d297f4bee3397c191d6f8e9091f Reviewed-on: https://code.wireshark.org/review/23194 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r--epan/dissectors/packet-selfm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-selfm.c b/epan/dissectors/packet-selfm.c
index e8e3fec436..93f737946c 100644
--- a/epan/dissectors/packet-selfm.c
+++ b/epan/dissectors/packet-selfm.c
@@ -1435,7 +1435,7 @@ dissect_fmdata_frame(tvbuff_t *tvb, proto_tree *tree, packet_info *pinfo, int of
if (!config_found) {
proto_item_append_text(fmdata_item, ", No Fast Meter Configuration frame found");
- offset += (len-2);
+ offset += (len-3); /* Don't include the 2 header bytes or 1 length byte, those are already in the offset */
return offset;
}
}