forked from osmocom/wireshark
fix bug #1594: compositions must be differentiated by both protocol and summary, not only the summary - otherwise this results in a single entry if two protocols share the same summary, e.g. TCP/UDP "Bad Checksum"
svn path=/trunk/; revision=23696
This commit is contained in:
parent
e8ca13de9e
commit
e4d7a5c236
|
@ -197,7 +197,8 @@ static gint find_summary_data(error_equiv_table *err, const expert_info_t *exper
|
|||
return -1;
|
||||
}
|
||||
for (i=0;i<err->num_procs;i++) {
|
||||
if (strcmp(err->procedures[i].entries[2], expert_data->summary) == 0) {
|
||||
if (strcmp(err->procedures[i].entries[1], expert_data->protocol) == 0 &&
|
||||
strcmp(err->procedures[i].entries[2], expert_data->summary) == 0) {
|
||||
return i;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue