wireshark/epan
Maarten Bezemer 0b9c5cd136 Improve error message by including the (expected) class information
The code checks whether the tag AND class are matching with their expected values, but only the tag information is shown in the error message.
When the class is not matching, the error message shows the given and expected tags which are the same, confusing the user what is wrong with it.

Furthermore, the messages for SEQUENCE and SEQUENCE OF are made the same/similar.

Change-Id: I6c1d0968c903105ec7f6e0648d589a4263a8ca18
Reviewed-on: https://code.wireshark.org/review/5162
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
2014-11-06 17:02:26 +00:00
..
compress lzxpress: Fix Dead Store (Dead assignement/Dead increment) warning found by Clang 2014-11-02 16:43:58 +00:00
crypt
dfilter No need for our own wrappers around tolower() and toupper(). 2014-10-17 01:21:48 +00:00
dissectors Improve error message by including the (expected) class information 2014-11-06 17:02:26 +00:00
ftypes Don't use <ctype.h> macros. 2014-10-17 01:26:27 +00:00
nghttp2 libnghttp2: Update to 0.6.4 2014-10-22 02:55:03 +00:00
wmem Eliminate use of ctype.h routines. 2014-10-19 22:45:27 +00:00
wslua Lua: Fixed some memory leakages. 2014-11-06 05:06:19 +00:00
addr_and_mask.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
addr_and_mask.h
addr_resolv.c Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
addr_resolv.h
address.h
address_to_str.c Eliminate proto_tree_add_text from packet-ipx.c 2014-10-19 03:01:54 +00:00
afn.c
afn.h
aftypes.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
aftypes.h
app_mem_usage.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
app_mem_usage.h
arcnet_pids.h
arptypes.h
asm_utils.c Use guint8 for 8-bit unsigned numeric values. 2014-10-28 18:37:09 +00:00
asm_utils.h
asm_utils_win32_x86.asm
asn1.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
asn1.h
atalk-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
atalk-utils.h
ax25_pids.h
bridged_pids.h
charsets.c Fix dissection of 7 bits ASCII/GSM strings when the bit offset is not byte aligned 2014-09-21 20:51:08 +00:00
charsets.h
chdlctypes.h
circuit.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
circuit.h
CMakeLists.txt Create the compress module for compression functions. 2014-10-30 15:28:47 +00:00
CMakeListsCustom.txt.example Having CmakeListsCustom.txt in git defeats the purpose of its existence: 2014-09-18 07:02:00 +00:00
column-info.h
column-utils.c Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
column-utils.h
column.c Get rid of unnecessary includes of ctype.h. 2014-10-17 23:31:20 +00:00
column.h Make get_column_longest_string() static. 2014-09-27 18:29:31 +00:00
conv_id.h
conversation.c
conversation.h
conversation_debug.h
conversation_table.c Fix spelling: cant-->can't, wont-->won't, etc 2014-09-16 15:31:58 +00:00
conversation_table.h Qt: Refactor ConversationDialog for endpoints. 2014-09-05 01:06:53 +00:00
crc6-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc6-tvb.h
crc8-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc8-tvb.h
crc10-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc10-tvb.h
crc16-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc16-tvb.h
crc32-tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
crc32-tvb.h
decode_as.c
decode_as.h
diam_dict.h
diam_dict.l
disabled_protos.c Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
disabled_protos.h
dissector_filters.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
dissector_filters.h
doxygen.cfg.in
dtd.h
dtd_grammar.lemon
dtd_parse.h
dtd_parse.l Make some variables size_t, as values of that width are assigned to it. 2014-09-06 18:45:53 +00:00
dtd_preparse.l
dvb_chartbl.c
dvb_chartbl.h
dwarf.c
dwarf.h
eap.h
eapol_keydes_types.h
emem.c Get rid of unnecessary includes of ctype.h. 2014-10-17 23:31:20 +00:00
emem.h
enterprise-numbers [Automatic manuf, services and enterprise-numbers update for 2014-11-02] 2014-11-02 16:06:59 +00:00
epan-int.h
epan.c
epan.h
epan_dissect.h
etypes.h
ex-opt.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
ex-opt.h
except.c Don't use toupper() in the test program. 2014-10-20 09:04:44 +00:00
except.h
exceptions.h
exntest.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
expert.c expert.[hc] Minor changes: 2014-09-15 23:49:12 +00:00
expert.h expert.[hc] Minor changes: 2014-09-15 23:49:12 +00:00
exported_pdu.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
exported_pdu.h
filter_expressions.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
filter_expressions.h
follow.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
follow.h
frame_data.c Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
frame_data.h Qt: Packet list column sorting. 2014-10-06 21:10:11 +00:00
frame_data_sequence.c
frame_data_sequence.h
frequency-utils.c
frequency-utils.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
funnel.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
funnel.h
garrayfix.h
gcp.c Various minor changes: 2014-09-10 16:17:29 +00:00
gcp.h Various minor changes: 2014-09-10 16:17:29 +00:00
geoip_db.c Qt: Add the "Map" button to the Endpoints dialog. 2014-09-17 20:04:28 +00:00
geoip_db.h Qt: Refactor ConversationDialog for endpoints. 2014-09-05 01:06:53 +00:00
golay.c
golay.h
greproto.h
guid-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
guid-utils.h
h225-persistentdata.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
h225-persistentdata.h
iana_snap_pid.h
iax2_codec_type.h
in_cksum.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
in_cksum.h
ip_opts.h
ipproto.c
ipproto.h
ipv4.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
ipv4.h
ipv6-utils.h
lapd_sapi.h
llcsaps.h
Makefile.am Create the compress module for compression functions. 2014-10-30 15:28:47 +00:00
Makefile.common
Makefile.nmake Create the compress module for compression functions. 2014-10-30 15:28:47 +00:00
next_tvb.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
next_tvb.h
nlpid.h
oids.c Use g_ascii_isalnum() rather than isalnum(). 2014-10-28 18:19:15 +00:00
oids.h
oids_test.c
osi-utils.c OSI util: Add modelines info 2014-08-28 11:34:19 +00:00
osi-utils.h OSI util: Add modelines info 2014-08-28 11:34:19 +00:00
oui.c Use Wifi Alliance OUI for MA USB packets over SNAP 2014-10-26 00:55:50 +00:00
oui.h
packet-range.c
packet-range.h
packet.c Get rid of unnecessary includes of ctype.h. 2014-10-17 23:31:20 +00:00
packet.h ASN1: Added support for using #.REGISTER_NEW 2014-10-07 20:27:35 +00:00
packet_info.h
params.h
ppptypes.h
prefs-int.h
prefs.c Qt: Dynamic languages 2014-11-04 08:21:55 +00:00
prefs.h
print.c print: do not try to add an empty hex stream to PDML output for a text only hf 2014-11-01 21:32:53 +00:00
print.h
print.ps
proto.c new function proto_tree_get_parent_tree() 2014-11-02 21:17:15 +00:00
proto.h new function proto_tree_get_parent_tree() 2014-11-02 21:17:15 +00:00
ps.h
ptvcursor.h
radius_dict.l
range.c Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
range.h
reassemble.c reassembly: fix when fragment cut off by snapshot 2014-09-25 12:41:36 +00:00
reassemble.h
reassemble_test.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
reedsolomon.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
reedsolomon.h
req_resp_hdrs.c Fix spelling: cant-->can't, wont-->won't, etc 2014-09-16 15:31:58 +00:00
req_resp_hdrs.h
rtp_pt.h
sctpppids.h Update the SCTP PPIDs. 2014-08-23 12:09:56 +00:00
show_exception.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
show_exception.h
sigcomp-udvm.c sigcomp-udvm: fix invalid access 2014-11-05 02:38:11 +00:00
sigcomp-udvm.h
sigcomp_state_hdlr.c
sigcomp_state_hdlr.h
slow_protocol_subtypes.h
sminmpec.c [Automatic manuf, services and enterprise-numbers update for 2014-11-02] 2014-11-02 16:06:59 +00:00
sminmpec.h
sna-utils.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
sna-utils.h
stat_cmd_args.c
stat_cmd_args.h
stat_groups.h
stats_tree.c Convert "4 space tabs" to spaces; Adjust editor modelines. 2014-10-06 18:29:40 +00:00
stats_tree.h Always put editor-modelines at the end of the file ... 2014-10-14 20:08:29 +00:00
stats_tree_priv.h
stream.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
stream.h
strutil.c Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
strutil.h
t35.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
t35.h
tap-voip.h
tap.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tap.h
tfs.c Eliminate proto_tree_add_text from packet-q933.c 2014-10-30 20:53:52 +00:00
tfs.h Eliminate proto_tree_add_text from packet-q933.c 2014-10-30 20:53:52 +00:00
time_fmt.h
timestamp.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
timestamp.h Make the time stamp resolution per-packet. 2014-09-28 18:38:18 +00:00
timestats.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
timestats.h
to_str-int.h
to_str.c Follow-up of ged0b19b (Make boolean bitmask type 64-bit wide) 2014-10-13 15:34:09 +00:00
to_str.h Eliminate proto_tree_add_text from packet-ipx.c 2014-10-19 03:01:54 +00:00
tpg.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tpg.h
tvbparse.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbparse.h
tvbtest.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff-int.h
tvbuff.c reassembly: fix when fragment cut off by snapshot 2014-09-25 12:41:36 +00:00
tvbuff.h Fix a comment typo: tvb_bcd_dig_to_wmem_packet_str() returns a WMEM-allocated 2014-08-22 18:40:50 +00:00
tvbuff_base64.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff_composite.c tvbuff composite: add modelines infos (tabs) 2014-09-04 19:31:57 +00:00
tvbuff_real.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
tvbuff_subset.c
tvbuff_zlib.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
uat-int.h
uat.c Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
uat.h Don't use ctype.h routines. 2014-10-17 23:11:18 +00:00
uat_load.l Get rid of unnecessary include of ctype.h. 2014-10-19 22:40:08 +00:00
value_string.c
value_string.h
x264_prt_id.h
xdlc.c Add editor modelines; Adjust whitespace as needed. 2014-10-10 14:50:08 +00:00
xdlc.h