Wireshark-commits: [Wireshark-commits] master-2.6 5f1fbb2: 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:11 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=5f1fbb2386e430b85595f4e267994ae24617db50
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark

Commits:

5f1fbb2 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/26874
    

Actions performed:

    from  41d303e   extcap: Fix crash in extcap_verify_capture_filter
    adds  5f1fbb2   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(-)