ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-commits: [Wireshark-commits] master-2.4 448f16a: user_encap: Avoid a hash lookup to get d

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 11 Apr 2018 07:50:41 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=448f16aaf22d5be1ddbee4dd8a6383b1fdd9f399
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.4
Repository: wireshark

Commits:

448f16a by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    user_encap: Avoid a hash lookup to get dissector name
    
    The dissector handle is already known so it's no need to fetch
    this again using find_dissector().
    
    Change-Id: Id48066ab881f2b80ec9e3a6e86bc1e41f32cd1ec
    Reviewed-on: https://code.wireshark.org/review/26873
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit b79d2bc9a32a6c23426cb2da824b766ad69bbee8)
    Reviewed-on: https://code.wireshark.org/review/26875
    

Actions performed:

    from  4b6cb06   [profile.c] glist_fre_full() is 2.28, include glib-compat.h
    adds  448f16a   user_encap: Avoid a hash lookup to get dissector name


Summary of changes:
 epan/dissectors/packet-user_encap.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)