Wireshark-commits: [Wireshark-commits] master 37666b6: NSH: Fix an item's bitmask.

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 9 Aug 2020 16:56:13 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=37666b6decc3005a7b8e4ce4f92bca057b4afc90
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

37666b6 by Martin Mathieson (martin.mathieson@xxxxxxxxxxxx):

    NSH: Fix an item's bitmask.
    
    Code to fetch the field (metadata length) was correct, but the item
    displayed would be wrong.  Fix mask, and use _ret_uint() variant
    to avoid fetching the value separately.
    
    Described in RFC 8300, section 2.5.1.
    
    Change-Id: I87cdca489392e1baa6c51bbab303c77a803d204e
    Reviewed-on: https://code.wireshark.org/review/38099
    Petri-Dish: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  9a7b30a   Fix tfs strings that have leading or trailing space characters.
     add  37666b6   NSH: Fix an item's bitmask.


Summary of changes:
 epan/dissectors/packet-nsh.c | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)