Wireshark-commits: [Wireshark-commits] master 00a2444: Check hopcount is correctly incremented by 1
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Mon, 8 Sep 2014 16:28:37 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=00a244445d3102d0169342e92b74471e8635623a
Submitter: Evan Huus (eapache@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

00a2444 by Jérôme LAFORGE (jerome.laforge@xxxxxxxxx):

    Check hopcount is correctly incremented by 1
    
    Extract RFC3315 about hop-count :
    20.1.2. Relaying a Message from a Relay Agent
    
       If the message received by the relay agent is a Relay-forward message
       and the hop-count in the message is greater than or equal to
       HOP_COUNT_LIMIT, the relay agent discards the received message.
    
       The relay agent copies the source address from the IP datagram in
       which the message was received from the client into the peer-address
       field in the Relay-forward message and sets the hop-count field to
       the value of the hop-count field in the received message incremented
       by 1.
    
    Bug:10449
    Change-Id: Ifb94e7c54c0a26714fc543862d4358d3e60c2676
    Reviewed-on: https://code.wireshark.org/review/4017
    Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
    Petri-Dish: Michael Mann <mmann78@xxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
    Reviewed-by: Evan Huus <eapache@xxxxxxxxx>
    

Actions performed:

    from  cf8f11f   Eliminate proto_tree_add_text from some of the dissectors.
    adds  00a2444   Check hopcount is correctly incremented by 1


Summary of changes:
 epan/dissectors/packet-dhcpv6.c |   22 ++++++++++++++++------
 1 file changed, 16 insertions(+), 6 deletions(-)