Wireshark-commits: [Wireshark-commits] master-3.0 06314894: epan: Keep decode_as_list when changing

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 30 Jun 2020 06:07:35 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=06314894f90883cff276026c64bd829840b7f2c6
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master-3.0
Repository: wireshark

Commits:

06314894 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    epan: Keep decode_as_list when changing profile
    
    The decode_as_list is built at startup and contains all protocols
    registered for "decode as". Do not clear this list on profile change,
    only on exit.
    
    Bug: 16635
    Change-Id: I832a042327603ae0f01b10ab620fccc03d4fd3a3
    (cherry picked from commit 036188d09b426ec152f5313e809dc177bfb9788c)
    Reviewed-on: https://code.wireshark.org/review/37606
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  c59ed30   DOC: fix layout mergecap manual page
     add  06314894  epan: Keep decode_as_list when changing profile


Summary of changes:
 debian/libwireshark12.symbols | 1 +
 epan/decode_as.c              | 8 ++++++--
 epan/decode_as.h              | 4 ++++
 epan/epan.c                   | 1 +
 4 files changed, 12 insertions(+), 2 deletions(-)