Wireshark-commits: [Wireshark-commits] master 0bbbda7: TCP: use curr_num_layer as key for p_(add|ge

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Tue, 10 Mar 2015 21:53:03 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=0bbbda713d88497933c51485e08abc98f63386f7
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

0bbbda7 by Pascal Quantin (pascal.quantin@xxxxxxxxx):

    TCP: use curr_num_layer as key for p_(add|get)_proto_data
    
    It allows to properly handle a use case were several TCP connections would be encapsulated
    Note that it is safe to use the same key for struct tcp_analysis and proto_tree as they are not using the same scope (and thus list)
    
    Change-Id: I37423eca225960f2e72817f6faf543f6676cf489
    Reviewed-on: https://code.wireshark.org/review/7606
    Reviewed-by: Pascal Quantin <pascal.quantin@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  cac102e   Change a lot of http:// URLs to https://.
    adds  0bbbda7   TCP: use curr_num_layer as key for p_(add|get)_proto_data


Summary of changes:
 epan/dissectors/packet-tcp.c |   29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)