Wireshark-commits: [Wireshark-commits] master 00961a0: Pass the next protocol value to ip_try_disse

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 24 Jul 2016 08:06:27 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=00961a0df29a4e3b5f0541d48e5888fb13828e7b
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

00961a0 by Guy Harris (guy@xxxxxxxxxxxx):

    Pass the next protocol value to ip_try_dissect() as an argument.
    
    That way, we don't rely on the ws_ip pointer being non-null.
    
    Based on changes from Ib73410fd8575ad6c836311bbda87a0580e5640ac.
    
    Change-Id: If8c437572c725481ac4148c8095a1a479b4fb0f8
    Reviewed-on: https://code.wireshark.org/review/16617
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  523e8c3   Pass the next header value to ipv6_dissect_next() as an argument.
    adds  00961a0   Pass the next protocol value to ip_try_dissect() as an argument.


Summary of changes:
 epan/dissectors/packet-ip.c   |    7 ++++---
 epan/dissectors/packet-ip.h   |    2 +-
 epan/dissectors/packet-ipv6.c |    2 +-
 3 files changed, 6 insertions(+), 5 deletions(-)