aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-trill.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-trill.c')
-rw-r--r--epan/dissectors/packet-trill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-trill.c b/epan/dissectors/packet-trill.c
index 25e90331c2..49bcaefbb9 100644
--- a/epan/dissectors/packet-trill.c
+++ b/epan/dissectors/packet-trill.c
@@ -142,7 +142,7 @@ dissect_trill( tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
next_tvb = tvb_new_subset_remaining( tvb, TRILL_MIN_FRAME_LENGTH + op_len ) ;
call_dissector( eth_dissector, next_tvb, pinfo, tree ) ;
- return tvb_length( tvb ) ;
+ return tvb_captured_length( tvb ) ;
}
/* Register the protocol with Wireshark */