aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-selfm.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-selfm.c')
-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 d400d4e166..2225904ef8 100644
--- a/epan/dissectors/packet-selfm.c
+++ b/epan/dissectors/packet-selfm.c
@@ -2538,7 +2538,7 @@ dissect_selfm_tcp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *dat
selfm_tvb = clean_telnet_iac(pinfo, tvb, 0, length);
}
else {
- selfm_tvb = tvb_new_subset( tvb, 0, length, length);
+ selfm_tvb = tvb_new_subset_length( tvb, 0, length);
}