From de16039c51844659a660f4ece885764e3a23536b Mon Sep 17 00:00:00 2001 From: Anders Broman Date: Fri, 4 Jan 2008 16:21:07 +0000 Subject: Get rid of dissect_ber_boolean_value() and change the signature of dissect_ber_boolean() to return a value and update asn2wrs to generate the new signature. Regenerate all BER dissectors. svn path=/trunk/; revision=24015 --- epan/dissectors/packet-cmp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'epan/dissectors/packet-cmp.c') diff --git a/epan/dissectors/packet-cmp.c b/epan/dissectors/packet-cmp.c index 78a4f3c345..8119a5c1f2 100644 --- a/epan/dissectors/packet-cmp.c +++ b/epan/dissectors/packet-cmp.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-cmp.c */ -/* ../../tools/asn2wrs.py -b -X -T -p cmp -c cmp.cnf -s packet-cmp-template CMP.asn */ +/* ../../tools/asn2wrs.py -b -p cmp -c cmp.cnf -s packet-cmp-template CMP.asn */ /* Input file: packet-cmp-template.c */ @@ -1486,7 +1486,7 @@ static void dissect_cmp_tcp_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *p proto_tree_add_uint(tree, hf_cmp_type, tvb, 4, 1, pdu_type); if (check_col (pinfo->cinfo, COL_INFO)) { - col_add_str (pinfo->cinfo, COL_INFO, val_to_str (pdu_type, cmp_pdu_types, "0x%x")); + col_set_str (pinfo->cinfo, COL_INFO, val_to_str (pdu_type, cmp_pdu_types, "0x%x")); } switch(pdu_type){ -- cgit v1.2.3