Wireshark-commits: [Wireshark-commits] master e38e828: Lua: Fix for register dissectors only once.
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 4 Nov 2014 11:49:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e38e82852e8ae4e5a4c600c6fdc6d4c1cedfbf77
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

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

    Lua: Fix for register dissectors only once.
    
    The postdissector may be registered before adding the dissector function.
    
    Change-Id: I2285824835491ac91e00515bfb18eb471888eaf8
    Reviewed-on: https://code.wireshark.org/review/5106
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  e41f088   SWITCH_TYPE is not always defined, SwitchType() will try to find a fallback
    adds  e38e828   Lua: Fix for register dissectors only once.


Summary of changes:
 epan/wslua/wslua_proto.c |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)