diff options
Diffstat (limited to 'asn1/dsp')
-rw-r--r-- | asn1/dsp/packet-dsp-template.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/dsp/packet-dsp-template.c b/asn1/dsp/packet-dsp-template.c index d16b570404..b0ebba4412 100644 --- a/asn1/dsp/packet-dsp-template.c +++ b/asn1/dsp/packet-dsp-template.c @@ -239,7 +239,7 @@ dissect_dsp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* da break; default: proto_tree_add_text(tree, tvb, offset, -1,"Unsupported DSP PDU"); - return tvb_length(tvb); + return tvb_captured_length(tvb); } if(dsp_dissector) { @@ -255,7 +255,7 @@ dissect_dsp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void* da } } - return tvb_length(tvb); + return tvb_captured_length(tvb); } |