Wireshark-commits: [Wireshark-commits] master c302812: Add enabled protocol list for dissectors who

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 24 Dec 2016 02:30:47 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=c302812566373c5ac7383b825bea830b716778a5
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

c302812 by Michael Mann (mmann78@xxxxxxxxxxxx):

    Add enabled protocol list for dissectors who are disabled by default
    
    We save a list of dissectors that are disabled through the Enabled Protocols
    dialog.  This is because we assume dissectors are enabled by default.
    
    For dissectors that are disabled by default, we have no way to keep them
    enabled through the Enabled Protocols dialog.  A dissector that defaults
    to being disabled has to be reset to enabled each time Wireshark is launched.
    
    Add a list similar to the disabled list for enabling dissectors that are
    disabled by default.
    This mostly applies to post-dissectors.
    
    Change-Id: I31a8d97a9fdbc472fe2a8666384e0f8786bb8e9f
    Reviewed-on: https://code.wireshark.org/review/19405
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    

Actions performed:

    from  fb9a4d7   Set BCP BPDU to size of bytes used by the protocol, not whole packet.
    adds  c302812   Add enabled protocol list for dissectors who are disabled by default


Summary of changes:
 debian/libwireshark0.symbols       |    4 +
 echld/dispatcher.c                 |    2 +
 epan/disabled_protos.c             |  516 ++++++++++++++++++++++--------------
 epan/disabled_protos.h             |   45 +++-
 epan/proto.c                       |    6 +
 epan/proto.h                       |    4 +
 rawshark.c                         |    3 +
 tfshark.c                          |    3 +
 tshark.c                           |   12 +
 ui/commandline.c                   |    1 +
 ui/dissect_opts.c                  |    4 +
 ui/dissect_opts.h                  |    3 +
 ui/gtk/main.c                      |   12 +
 ui/gtk/proto_dlg.c                 |    8 +
 ui/qt/enabled_protocols_dialog.cpp |    9 +
 ui/qt/wireshark_application.cpp    |    3 +
 wireshark-qt.cpp                   |    9 +
 17 files changed, 448 insertions(+), 196 deletions(-)