Wireshark-commits: [Wireshark-commits] master-1.12 8300429: MIP6: Local Mobility Anchor Address mob

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 14 Feb 2015 16:42:00 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=830042975454b1a828d560e19d8be4d6337033a1
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master-1.12
Repository: wireshark

Commits:

8300429 by Alexis La Goutte (alexis.lagoutte@xxxxxxxxx):

    MIP6: Local Mobility Anchor Address mobility option code is treated incorrectly
    
    The first packet is an IPv6 packet with Local Mobility Anchor Address mobility option with Option-Code=1. Wireshark parses its address as IPv4 address.
    
    The second packet is an IPv6 packet with Local Mobility Anchor Address mobility option with Option-Code=2. Wireshark parses its address as IPv6 address.
    
    According to RFC 5949 (https://tools.ietf.org/html/rfc5949#section-6.2.2), Option-Code=1 means IPv6 and Option-Code=2 means IPv4, exactly the opposite to what Wireshark does.
    
    Bug: 10961
    Change-Id: I03b76dda8beae211e67e6c9e1f40d122e851b1b5
    Reviewed-on: https://code.wireshark.org/review/7113
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    (cherry picked from commit ca534b1561c70f7d882d9d00bacf242a23346365)
    Reviewed-on: https://code.wireshark.org/review/7116
    

Actions performed:

    from  0277920   MIP6: AUTH mobility option parses Mobility SPI and Authentication Data incorrectly
    adds  8300429   MIP6: Local Mobility Anchor Address mobility option code is treated incorrectly


Summary of changes:
 epan/dissectors/packet-mip6.c |    9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)