Wireshark-commits: [Wireshark-commits] master-2.6 a7187e6: text2pcap: assure an IP next layer proto

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sun, 18 Nov 2018 09:09:10 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a7187e64f49e48a7d0dd0217ba1a71088f141454
Submitter: "Jaap Keuter <jaap.keuter@xxxxxxxxx>"
Changed: branch: master-2.6
Repository: wireshark

Commits:

a7187e6 by Jaap Keuter (jaap.keuter@xxxxxxxxx):

    text2pcap: assure an IP next layer protocol is set
    
    Using -4 or -6 to set an IP address pair to use in the dummy IP
    header it is possible to generate a capture in which the next
    layer protocol is undefined. Add a check that an next layer
    protocol is always set.
    
    Bug: 15275
    Change-Id: Ifef54be7f708a0f168d2067f6f691e2611f25428
    Signed-off-by: Jaap Keuter <jaap.keuter@xxxxxxxxx>
    Reviewed-on: https://code.wireshark.org/review/30683
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    (cherry picked from commit 93361b9977522070bd41e830965043734f5bb539)
    Reviewed-on: https://code.wireshark.org/review/30687
    

Actions performed:

    from  f911e2e   [Automatic update for 2018-11-18]
     add  a7187e6   text2pcap: assure an IP next layer protocol is set


Summary of changes:
 text2pcap.c | 6 ++++++
 1 file changed, 6 insertions(+)