Wireshark-commits: [Wireshark-commits] master-2.0 cb68066: Lua: Remove heur dissectors when reload

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 13 Mar 2016 10:52:38 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cb6806675af0e6e58ba66192ac9edb9da21d3772
Submitter: Stig Bj?rlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark

Commits:

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

    Lua: Remove heur dissectors when reload Lua plugins
    
    When reloading Lua plugins all registered heuristic dissectors
    must be removed.
    
    Bug: 12251
    Change-Id: Ib7da6df347fb9294f5394ae531b582bf6d2730bb
    Reviewed-on: https://code.wireshark.org/review/14429
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit 6f220a343e476fb1df1f98c719b0fedf5c4f8c7f)
    Reviewed-on: https://code.wireshark.org/review/14442
    

Actions performed:

    from  61704fc   Lua: Apply prefs when reload Lua plugins
    adds  cb68066   Lua: Remove heur dissectors when reload Lua plugins


Summary of changes:
 epan/packet.c            |    5 +++--
 epan/wslua/init_wslua.c  |    1 +
 epan/wslua/wslua.h       |    1 +
 epan/wslua/wslua_proto.c |   16 ++++++++++++++++
 4 files changed, 21 insertions(+), 2 deletions(-)