Wireshark-commits: [Wireshark-commits] master-2.6 743c786: lwm2mtlv: Add interpretations checks

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 02 May 2018 06:54:53 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=743c7867a3ba825612bf4858ffa68bbb0d473b40
Submitter: Stig Bjørlykke (stig@xxxxxxxxxxxxx)
Changed: branch: master-2.6
Repository: wireshark

Commits:

743c786 by Stig Bjørlykke (stig@xxxxxxxxxxxxx):

    lwm2mtlv: Add interpretations checks
    
    Only show value as String if valid as UTF-8 string.
    Only show value as Boolean if 0 or 1.
    
    Change-Id: I56168faafff9eaeeb21ec6d57b850013bbb94c33
    Reviewed-on: https://code.wireshark.org/review/27212
    Petri-Dish: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Stig Bjørlykke <stig@xxxxxxxxxxxxx>
    (cherry picked from commit d8ba341856fcc2305e876a9f67430ca63d03ad01)
    Reviewed-on: https://code.wireshark.org/review/27246
    

Actions performed:

    from  7d300fd   Force textify.ps1 to read files as UTF-8.
    adds  743c786   lwm2mtlv: Add interpretations checks


Summary of changes:
 epan/dissectors/packet-lwm2mtlv.c | 19 +++++++++++++++----
 1 file changed, 15 insertions(+), 4 deletions(-)