diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-01-03 13:00:56 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-01-03 13:00:56 +0000 |
commit | d38d7348e0ea70bd35befff9f3901e656a9a4427 (patch) | |
tree | 292ed0e5b749f9951aae5c3785fb77971ff86c52 /epan | |
parent | 99946861cae3660c2db88e601f59dbf339fd9711 (diff) |
Wrong string used in g_hash_table_lookup().
Fix bug http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2154
svn path=/trunk/; revision=24000
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-ansi_map.c | 4 | ||||
-rw-r--r-- | epan/dissectors/packet-ansi_map.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-ansi_map.c b/epan/dissectors/packet-ansi_map.c index 81c1326f1b..792bb1ec3d 100644 --- a/epan/dissectors/packet-ansi_map.c +++ b/epan/dissectors/packet-ansi_map.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-ansi_map.c */ -/* ../../tools/asn2wrs.py -b -X -T -p ansi_map -c ./ansi_map.cnf -s ./packet-ansi_map-template -D . ansi_map.asn */ +/* ../../tools/asn2wrs.py -b -p ansi_map -c ansi_map.cnf -s packet-ansi_map-template ansi_map.asn */ /* Input file: packet-ansi_map-template.c */ @@ -15706,7 +15706,7 @@ find_saved_invokedata(asn1_ctx_t *actx){ /* g_warning("Find Hash string %s",buf); */ - ansi_map_saved_invokedata = g_hash_table_lookup(TransactionId_table, p_private_tcap->TransactionID_str); + ansi_map_saved_invokedata = g_hash_table_lookup(TransactionId_table, buf); if(ansi_map_saved_invokedata){ OperationCode = ansi_map_saved_invokedata->opcode & 0xff; ServiceIndicator = ansi_map_saved_invokedata->ServiceIndicator; diff --git a/epan/dissectors/packet-ansi_map.h b/epan/dissectors/packet-ansi_map.h index 54abf1cfce..c84e5a1a37 100644 --- a/epan/dissectors/packet-ansi_map.h +++ b/epan/dissectors/packet-ansi_map.h @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-ansi_map.h */ -/* ../../tools/asn2wrs.py -b -X -T -p ansi_map -c ansi_map.cnf -s packet-ansi_map-template ansi_map.asn */ +/* ../../tools/asn2wrs.py -b -p ansi_map -c ansi_map.cnf -s packet-ansi_map-template ansi_map.asn */ /* Input file: packet-ansi_map-template.h */ |