aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-sap.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-sap.c')
-rw-r--r--epan/dissectors/packet-sap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-sap.c b/epan/dissectors/packet-sap.c
index 3d6d93c5d8..6ad82ccfc1 100644
--- a/epan/dissectors/packet-sap.c
+++ b/epan/dissectors/packet-sap.c
@@ -270,7 +270,7 @@ dissect_sap(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
/* Done with SAP */
- next_tvb = tvb_new_subset(tvb, offset, -1, -1);
+ next_tvb = tvb_new_subset_remaining(tvb, offset);
call_dissector(sdp_handle, next_tvb, pinfo, tree);
return;