Wireshark-commits: [Wireshark-commits] master b79d2bc: user_encap: Avoid a hash lookup to get disse

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

Commits:

b79d2bc 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>
    

Actions performed:

    from  89904b6   extcap: Fix crash in extcap_verify_capture_filter
    adds  b79d2bc   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(-)