ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master 0515087: Handle new vendors and changes to vendors di

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 13 Nov 2014 03:02:04 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0515087b46e845374efd2b4d24eeecf269878902
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0515087 by Guy Harris (guy@xxxxxxxxxxxx):

    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@xxxxxxxxxxxx>
    

Actions performed:

    from  f598fa8   Squelch a compiler warning.
    adds  0515087   Handle new vendors and changes to vendors differently.


Summary of changes:
 epan/radius_dict.l |   53 +++++++++++++++++++++++++++++++++++++---------------
 1 file changed, 38 insertions(+), 15 deletions(-)