aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/cmip/cmip.cnf
diff options
context:
space:
mode:
Diffstat (limited to 'asn1/cmip/cmip.cnf')
-rw-r--r--asn1/cmip/cmip.cnf4
1 files changed, 2 insertions, 2 deletions
diff --git a/asn1/cmip/cmip.cnf b/asn1/cmip/cmip.cnf
index 076535e23f..04e5340794 100644
--- a/asn1/cmip/cmip.cnf
+++ b/asn1/cmip/cmip.cnf
@@ -275,7 +275,7 @@ RejectProblem
if(attributeform==ATTRIBUTE_GLOBAL_FORM){
offset=call_ber_oid_callback(attribute_identifier_id, tvb, offset, actx->pinfo, tree, actx->private_data);
} else if (dissector_try_uint(attribute_id_dissector_table, attribute_local_id, tvb, actx->pinfo, tree)) {
- offset=tvb_length (tvb);
+ offset=tvb_captured_length (tvb);
} else {
offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
}
@@ -454,7 +454,7 @@ RejectProblem
if(attributeform==ATTRIBUTE_GLOBAL_FORM){
offset=call_ber_oid_callback(attribute_identifier_id, tvb, offset, actx->pinfo, tree, NULL);
} else if (dissector_try_uint(attribute_id_dissector_table, attribute_local_id, tvb, actx->pinfo, tree)) {
- offset=tvb_length (tvb);
+ offset=tvb_captured_length (tvb);
} else {
offset=dissect_unknown_ber(actx->pinfo, tvb, offset, tree);
}