aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rtps.c
diff options
context:
space:
mode:
authorJuanjo Martin <juanjo@rti.com>2016-10-11 12:09:42 +0200
committerMichael Mann <mmann78@netscape.net>2016-10-11 13:00:34 +0000
commit2ad87fab3403786490dc71339af4195cf5e1248c (patch)
tree7b35f6a21485ef5211949cc8459998db275e9796 /epan/dissectors/packet-rtps.c
parent71232b69fda6372f1853cf7c7fadd989353adc69 (diff)
RTPS: Fixed octet to next header dissection when submessage is unknown
Change-Id: If18d4797a8ace9f93546cac0d2d6f09bf7086cc3 Reviewed-on: https://code.wireshark.org/review/18145 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-rtps.c')
-rw-r--r--epan/dissectors/packet-rtps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rtps.c b/epan/dissectors/packet-rtps.c
index 0f63b5e17b..cdb034dd3e 100644
--- a/epan/dissectors/packet-rtps.c
+++ b/epan/dissectors/packet-rtps.c
@@ -9403,7 +9403,7 @@ static gboolean dissect_rtps(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree
tvb, offset + 1, 1, flags);
proto_tree_add_uint(rtps_submessage_tree,
hf_rtps_sm_octets_to_next_header,
- tvb, offset + 2, 2, next_submsg);
+ tvb, offset + 2, 2, octets_to_next_header);
}
}