Wireshark-commits: [Wireshark-commits] master-1.12 dbae90c: Fix Bug #10348 Different dissection res

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 7 Aug 2014 10:51:30 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dbae90cfbf5c33648a12170fb33ce4d37fcc54de
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

dbae90c by AndersBroman (anders.broman@xxxxxxxxxxxx):

    Fix Bug #10348 Different dissection results for same file.
    The fault is that reassembly_table_init() must be called when reloading
    the file - move it to an init routine and register the init routine.
    While there move the proto_register_opcua() routine to the end of the file
    to be more consistent with other dissectors.
    Change soft deprecated APIs
    
    Change-Id: I2b93692be24dbf60f4ef09aa7283e55ebf3c1874
    Reviewed-on: https://code.wireshark.org/review/3431
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 79c55a34cb9869a846ed4e58a760c50e409eeeb5)
    Reviewed-on: https://code.wireshark.org/review/3468
    

Actions performed:

    from  28b65c0   MIPv6: fix dissection of Service Selection Identifier
    adds  dbae90c   Fix Bug #10348 Different dissection results for same file. The fault is that reassembly_table_init() must be called when reloading the file - move it to an init routine and register the init routine. While there move the proto_register_opcua() routine to the end of the file to be more consistent with other dissectors. Change soft deprecated APIs


Summary of changes:
 plugins/opcua/opcua.c |  189 ++++++++++++++++++++++++++-----------------------
 1 file changed, 99 insertions(+), 90 deletions(-)