URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=cda48a15786edb98b75629f116cf674c1df95dd9
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.0
Repository: wireshark
Commits:
cda48a1 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):
Lua: Fix add and remove Fields when reload Lua plugins
Reset wslua_dfilter and remove the Field tap_listener when
reloading plugins.
Check for tap listeners in rescan_packets() after ws_epan_new()
because Lua may register the Lua field tap when adding Fields.
Bug: 12328
Change-Id: Ibbd8339033132c6f3b61d7e9c9ced9ed2b9affec
Reviewed-on: https://code.wireshark.org/review/14871
Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
Reviewed-by: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
(cherry picked from commit 5112d1ec27e0b37fe4194fbc627877e28c027261)
Reviewed-on: https://code.wireshark.org/review/14882
Actions performed:
from d1ede18 [Automatic update for 2016-04-10]
adds cda48a1 Lua: Fix add and remove Fields when reload Lua plugins
Summary of changes:
epan/wslua/init_wslua.c | 1 +
epan/wslua/wslua.h | 1 +
epan/wslua/wslua_field.c | 31 ++++++++++++++++++-------------
file.c | 6 ++++++
4 files changed, 26 insertions(+), 13 deletions(-)