diff options
author | Guy Harris <guy@alum.mit.edu> | 2014-11-12 19:01:26 -0800 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2014-11-13 03:02:01 +0000 |
commit | 0515087b46e845374efd2b4d24eeecf269878902 (patch) | |
tree | 07df1426913c3645aba7b448a00aaa2bf98e75dc /dfilters | |
parent | f598fa89ebaab21f445a84489a4080e9f98eec9c (diff) |
Handle new vendors and changes to vendors differently.
If, when adding a new vendor, we already find a vendor with the given
ID, don't bother adding it to the vendors-by-ID table with the same ID,
and, if and only if the vendor name has changed, remove it from the
vendors-by-name table, free the old name, replace it with the new name,
and, add it back to the vendors-by-name table with the new name.
Bug: 10666
Change-Id: I43ebcb57c742563157c71b01ebc0b35797a408e1
Reviewed-on: https://code.wireshark.org/review/5265
Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'dfilters')
0 files changed, 0 insertions, 0 deletions