Wireshark-commits: [Wireshark-commits] master 6f220a3: Lua: Remove heur dissectors when reload Lua

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

Commits:

6f220a3 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>
    

Actions performed:

    from  b46d555   Lua: Apply prefs when reload Lua plugins
    adds  6f220a3   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(-)