Wireshark-commits: [Wireshark-commits] master 41ebec3: lwm2mtlv: Handle 8 bytes Float
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 07 Apr 2020 21:14:09 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=41ebec37cd60e619c09c1f2c5e70c36b4540f712
Submitter: "Stig Bjørlykke <stig@xxxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

41ebec3 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    lwm2mtlv: Handle 8 bytes Float
    
    In LwM2M TLV format a Float can be a 4 or 8 bytes floating point value.
    Allocate a separate FT_DOUBLE header field to handle this.
    
    Refactor common code between OMA and UAT defined resources.
    
    Bug: 16485
    Change-Id: I45fe782a32444215959951f0b202de360a3b24b8
    Reviewed-on: https://code.wireshark.org/review/36724
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    

Actions performed:

    from  a543cdd   Use spaces, not tabs, for indentation.
     add  41ebec3   lwm2mtlv: Handle 8 bytes Float


Summary of changes:
 epan/dissectors/packet-lwm2mtlv.c | 201 ++++++++++++++++++++++++--------------
 1 file changed, 129 insertions(+), 72 deletions(-)