aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-qllc.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-qllc.c')
-rw-r--r--epan/dissectors/packet-qllc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-qllc.c b/epan/dissectors/packet-qllc.c
index d75d924cc3..dcfed06123 100644
--- a/epan/dissectors/packet-qllc.c
+++ b/epan/dissectors/packet-qllc.c
@@ -91,7 +91,7 @@ dissect_qllc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
*/
if (!(*q_bit_set)) {
call_dissector(sna_handle, tvb, pinfo, tree);
- return tvb_length(tvb);
+ return tvb_captured_length(tvb);
}
/* Summary information */
@@ -157,7 +157,7 @@ dissect_qllc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data)
/* yes */
}
- return tvb_length(tvb);
+ return tvb_captured_length(tvb);
}
void