aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-ctdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-ctdb.c')
-rw-r--r--epan/dissectors/packet-ctdb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ctdb.c b/epan/dissectors/packet-ctdb.c
index 077938d5f7..09c45bac6e 100644
--- a/epan/dissectors/packet-ctdb.c
+++ b/epan/dissectors/packet-ctdb.c
@@ -982,7 +982,7 @@ dissect_ctdb(tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree, void *d
int endianess;
/* does this look like CTDB? */
- if(tvb_length_remaining(tvb, offset)<8){
+ if(tvb_captured_length_remaining(tvb, offset)<8){
return FALSE;
}
switch(tvb_get_letohl(tvb, offset+4)){