Wireshark-commits: [Wireshark-commits] master dcb7b71: IPv6: Fix Decode As to distinguish a null fr

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Thu, 28 Jul 2016 15:46:26 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=dcb7b71e6155adb37a20c7a6dc3ae8ea86a910c7
Submitter: João Valverde (j@xxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

dcb7b71 by João Valverde (joao.valverde@xxxxxxxxxxxxxxxxxx):

    IPv6: Fix Decode As to distinguish a null from a hop-by-hop next header.
    
    Both display as zero in the UI. We shouldn't have null values for
    decode as, but we do for IPv6, and the user (also the developer) can't
    tell them apart from an IPv6 Hop-by-hop Option extension header.
    
    NULL values are represented as IP Protocol 255 (Reserved) in the UI,
    intead of IP Protocol 0 (Hop-By-Hop extension header).
    
    Change-Id: I840db99df212a3bee03027b91fdec9c01886004d
    Reviewed-on: https://code.wireshark.org/review/16746
    Petri-Dish: João Valverde <j@xxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: João Valverde <j@xxxxxx>
    

Actions performed:

    from  7c20448   IPv6: Reduce some expert info PI_PROTOCOL severities
    adds  dcb7b71   IPv6: Fix Decode As to distinguish a null from a hop-by-hop next header.


Summary of changes:
 epan/dissectors/packet-ipv6.c |   51 +++++++++++++++++++++++++++++++----------
 1 file changed, 39 insertions(+), 12 deletions(-)