aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rudp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-rudp.c')
-rw-r--r--epan/dissectors/packet-rudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rudp.c b/epan/dissectors/packet-rudp.c
index 8717ae59e3..549a6d07b1 100644
--- a/epan/dissectors/packet-rudp.c
+++ b/epan/dissectors/packet-rudp.c
@@ -130,7 +130,7 @@ dissect_rudp(tvbuff_t *tvb, packet_info *pinfo _U_ , proto_tree *tree)
/* If we have even more bytes their meaning is unknown - we have seen this
* in live captures */
if (hlen > 6) {
- next_tvb = tvb_new_subset(tvb, 6, hlen-6, hlen-6);
+ next_tvb = tvb_new_subset_length(tvb, 6, hlen-6);
call_dissector(data_handle, next_tvb, pinfo, rudp_tree);
}
}