aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-rudp.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-rudp.c')
-rw-r--r--epan/dissectors/packet-rudp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-rudp.c b/epan/dissectors/packet-rudp.c
index 549a6d07b1..698551e8fd 100644
--- a/epan/dissectors/packet-rudp.c
+++ b/epan/dissectors/packet-rudp.c
@@ -136,7 +136,7 @@ dissect_rudp(tvbuff_t *tvb, packet_info *pinfo _U_ , proto_tree *tree)
}
next_tvb = tvb_new_subset_remaining(tvb, hlen);
- if (tvb_length(next_tvb) && sm_handle)
+ if (tvb_captured_length(next_tvb) && sm_handle)
call_dissector(sm_handle, next_tvb, pinfo, tree);
}