aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-p22.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-p22.c')
-rw-r--r--epan/dissectors/packet-p22.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-p22.c b/epan/dissectors/packet-p22.c
index bd70e301a5..40d983f71f 100644
--- a/epan/dissectors/packet-p22.c
+++ b/epan/dissectors/packet-p22.c
@@ -1234,7 +1234,7 @@ dissect_p22_SubjectField(gboolean implicit_tag _U_, tvbuff_t *tvb _U_, int offse
if(subject)
- col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%s)", tvb_format_text(subject, 0, tvb_captured_length(subject)));
+ col_append_fstr(actx->pinfo->cinfo, COL_INFO, " (%s)", tvb_format_text(subject, 0, tvb_length(subject)));