diff options
Diffstat (limited to 'epan/dissectors/packet-db-lsp.c')
-rw-r--r-- | epan/dissectors/packet-db-lsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-db-lsp.c b/epan/dissectors/packet-db-lsp.c index 0a3c55b9dd..79b3f339ab 100644 --- a/epan/dissectors/packet-db-lsp.c +++ b/epan/dissectors/packet-db-lsp.c @@ -123,7 +123,7 @@ dissect_db_lsp_pdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* d if (opvalue == OP_CERT) { /* X509 Certificate */ - tvbuff_t *cert_tvb = tvb_new_subset (tvb, offset+10, length-10, length-10); + tvbuff_t *cert_tvb = tvb_new_subset_length (tvb, offset+10, length-10); dissect_x509af_Certificate_PDU (cert_tvb, pinfo, db_lsp_tree); } else { proto_tree_add_item (db_lsp_tree, hf_value, tvb, offset, length, ENC_NA); |