forked from osmocom/wireshark
[Expert] Enhance error output to identify the duplicated field.
Change-Id: Ie38f51e2fa0f846dbcfd7a19f29eac1bd07cffbc Reviewed-on: https://code.wireshark.org/review/10179 Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
f73e1c2956
commit
30ce20da30
|
@ -375,8 +375,8 @@ expert_register_field_array(expert_module_t *module, ei_register_info *exp, cons
|
|||
*/
|
||||
if (ptr->ids->ei != -1 && ptr->ids->ei != 0) {
|
||||
fprintf(stderr,
|
||||
"Duplicate field detected in call to expert_register_field_array: '%s' is already registered\n",
|
||||
ptr->eiinfo.summary);
|
||||
"Duplicate field detected in call to expert_register_field_array: '%s' is already registered, name=%s\n",
|
||||
ptr->eiinfo.summary, ptr->eiinfo.name);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue